Skip to content

replace ws4sql with new node sqlite module#36

Merged
blaix merged 2 commits into
mainfrom
node-sqlite
May 16, 2026
Merged

replace ws4sql with new node sqlite module#36
blaix merged 2 commits into
mainfrom
node-sqlite

Conversation

@blaix

@blaix blaix commented May 15, 2026

Copy link
Copy Markdown
Collaborator

Test runs are going to fail due to local node dependency. What's the best way to handle that?

@blaix blaix requested a review from robinheghan May 15, 2026 10:33
Comment thread src/Registry/Db.gren
Comment thread src/Registry/Db.gren Outdated
, { statement = "PRAGMA busy_timeout = 5000"
, parameters = []
}
, { statement = "PRAGMA busy_timeout = 5000"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is defined by Sqlite.Options

Comment thread src/Registry/Db.gren Outdated
[ { statement = "PRAGMA foreign_keys = ON"
, parameters = []
}
[ { statement = "PRAGMA foreign_keys = ON"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is defined by Sqlite.Options

@robinheghan

Copy link
Copy Markdown
Member

Looks good. You might want to remove two pragma's from the migrate command, as that's already handled by the API.

Test runs are going to fail due to local node dependency. What's the best way to handle that?

Don't really have a good way of handling it until we cut a new node release 🤷

these are already set by Sqlite.defaultOptions
@blaix blaix merged commit 1adaeed into main May 16, 2026
1 check failed
@blaix blaix deleted the node-sqlite branch May 16, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants