Skip to content

Conversation

Dretch
Copy link
Contributor

@Dretch Dretch commented Nov 11, 2018

This is necessary to allow passing Node Buffer objects as params.

One downside is that this arguably makes the API even less type-safe, but at least it also makes the parameter types more consistent with the query return type (Array Foreign).

Right now I have a type-safe API at a higher level (in purescript-querydsl), but I guess purescript-node-sqlite3 could have a type-safe API too.

This is necessary to allow passing Node Buffer objects as params.
@justinwoo
Copy link
Owner

Oh, right. Yeah, params should always have been Foreign, just that I was lazy about it

@Dretch Dretch merged commit 7fee270 into master Nov 11, 2018
@Dretch Dretch deleted the foreign-params branch November 11, 2018 12:40
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