dyedgreen / deno-sqlite

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

Expose SQLite version #148

Closed dyedgreen closed 2 years ago

dyedgreen commented 3 years ago

We could expose the underlying SQLite version from the DB class/ some other place: https://www.sqlite.org/c3ref/c_source_id.html

(Ideally, these would just be exposed as a generated thing, since they never change after a build. Perhaps they could be included in the exports of sqlite.js?)

dyedgreen commented 2 years ago

This information can be obtained from a simple SQL query already: https://www.sqlite.org/lang_corefunc.html#sqlite_version