mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Add sqlite3.version object. Add more state to the Worker #1 config-get response, including sqlite3.version.
FossilOrigin-Name: 711f458d188a0dbe6612069c856ade29323ab426dfa4f80e7b82757ccc474cb8
This commit is contained in:
@ -202,4 +202,9 @@ self.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
|
||||
capi[s.name] = sqlite3.StructBinder(s);
|
||||
}
|
||||
}/*end C constant imports*/
|
||||
|
||||
sqlite3.version = Object.assign(Object.create(null),{
|
||||
library: sqlite3.capi.sqlite3_libversion(),
|
||||
sourceId: sqlite3.capi.sqlite3_sourceid()
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user