(no title)
ak39
|
2 years ago
SQLite not supporting "stored procedures" is a deal-breaker for me. The idea for stored procs is not to "put the process as close to the data" but simply that we have a single place for language-agnostic encapsulation of data procedures.
bob1029|2 years ago
https://www.sqlite.org/appfunc.html
chungy|2 years ago
ketralnis|2 years ago
Sqlite's internals actually could support something like this: it has a bytecode engine https://www.sqlite.org/opcode.html that's more oriented around executing query plans and it's missing some pieces (e.g. it has no stack, only registers) but much of the machinery is there to expand it to stored procedures
pstuart|2 years ago
Their reasoning for not doing this is not unreasonable, but it certainly would be cool if such functionality existed.
chasil|2 years ago
Perhaps this will grow into a more thorough implementation.
hahn-kev|2 years ago