Optional
filePath: string | Buffer | Uint8ArrayCounts rows that match the query
count
table name from which to count
Optional
where: stringwhere clause
Optional
whereArgs: Record<string, DBValue> | []where args
Returns a Promise which, when resolved, returns a DBAdapter which has connected to the GeoPackage database file
Runs the specified insert statement and returns the last inserted id or undefined if no insert happened
last inserted row id
statement to run
Optional
params: Record<string, DBValue> | []bind parameters
name of function to register
function to register
Run the given statement, returning information about what changed.
https://github.com/JoshuaWise/better-sqlite3/wiki/API#runbindparameters---object|better-sqlite3
object: { "changes": number, "lastInsertROWID": number }
changes
: number of rows the statement changedlastInsertROWID
: ID of the last inserted rowstatement to run
Optional
params: Record<string, DBValue> | []bind parameters
Generated using TypeDoc
This adapter uses better-sqlite3 to execute queries against the GeoPackage database
See
https://github.com/JoshuaWise/better-sqlite3|better-sqlite3