dyedgreen / deno-sqlite

Deno SQLite module
https://deno.land/x/sqlite
MIT License
409 stars 36 forks source link

Support user-defined scalar functions #216

Closed dyedgreen closed 1 year ago

dyedgreen commented 1 year ago

This partly addresses #186.

User defined aggregation functions will be tackled in a separate PR, since the API is not as obvious (i.e. how to we allow the JS functions to keep state / return results, do we hack something with this, do we expose do the step / final split in SQLite (and how?); ...).

What this adds are two new functions:

Current Progress