Optional
filePath: string | Buffer | Uint8Arraystring path to an existing file or a path to where a new file will be created or a url from which to download a GeoPackage or a Uint8Array containing the contents of the file, if undefined, an in memory database is created
Static
SQLStatic
sqljsCounts rows that match the query
count
table name from which to count
Optional
where: stringwhere clause
Optional
whereArgs: Record<string, DBValue> | []where args
Returns an Iterable with results from the query
statement to run
Optional
params: Record<string, DBValue> | []bind parameters
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
Registers the given function so that it can be used by SQL statements
this
name of function to register
function to register
Runs the statement specified, returning information about what changed
object containing a changes property indicating the number of rows changed and a lastInsertROWID indicating the last inserted row
statement to run
Optional
params: Record<string, DBValue> | []bind parameters
Static
setGenerated using TypeDoc
This adapter uses sql.js to execute queries against the GeoPackage database
See
http://kripken.github.io/sql.js/documentation/|sqljs