better-sqlite3
better-sqlite3 copied to clipboard
Issue #1021: Expose sqlite3 metadata
Issues:
- #1021
- #1122
Changes:
- Exposed 49 sqlite3 metadata properties via
.metadataproperty on the addon object, viasrc/better_sqlite3.lzzandsrc/better_sqlite3.cpp. - Exposed the above mentioned
.metadataproperty of the addon on the JavascriptDatabaseobject, vialib/database.js. - Added test to validate that above mentioned sqlite3 metadata 49 properties are as expected, via
test/51.metadata.jsandtest/51.metadata.json. - Added pragma test to validate that
compile_optionspragma does work for getting other compile time options, viatest/12.database.pragma.js. - Added to the download.sh automation script so it updates the test values of
test/51.metadata.jsonwhenever it is run, viadeps/download.shanddeps/download_update_tests.sh.