Exposed 49 sqlite3 metadata properties via .metadata property on the addon object, via src/better_sqlite3.lzz and src/better_sqlite3.cpp.
Exposed the above mentioned .metadata property of the addon on the Javascript Database object, via lib/database.js.
Added test to validate that above mentioned sqlite3 metadata 49 properties are as expected, via test/51.metadata.js and test/51.metadata.json.
Added pragma test to validate that compile_options pragma does work for getting other compile time options, via test/12.database.pragma.js.
Added to the download.sh automation script so it updates the test values of test/51.metadata.json whenever it is run, via deps/download.sh and deps/download_update_tests.sh.
Issues:
1021
1122
Changes:
.metadata
property on the addon object, viasrc/better_sqlite3.lzz
andsrc/better_sqlite3.cpp
..metadata
property of the addon on the JavascriptDatabase
object, vialib/database.js
.test/51.metadata.js
andtest/51.metadata.json
.compile_options
pragma does work for getting other compile time options, viatest/12.database.pragma.js
.test/51.metadata.json
whenever it is run, viadeps/download.sh
anddeps/download_update_tests.sh
.