WiseLibs / better-sqlite3

The fastest and simplest library for SQLite3 in Node.js.
MIT License
5.37k stars 394 forks source link

Support for unregistering a custom function #1045

Closed fabiospampinato closed 1 year ago

fabiospampinato commented 1 year ago

As I understand it today a custom function can at most be overridden, potentially with a function that throws, but it can't just be deleted.

IMO for anything that can be added it tends to be nice to have a way of removing it also, so I think it would be nice if custom functions could be deleted also.

Prinzhorn commented 1 year ago

Duplicate of https://github.com/WiseLibs/better-sqlite3/issues/773