Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WiseLibs/better-sqlite3
/ functions
Functions
287 in github.com/WiseLibs/better-sqlite3
⨍
Functions
287
◇
Types & classes
81
Method
Truncate
src/util/fd-vfs.cpp:396
Function
TypeSafeCallback
src/util/helpers.cpp:128
Function
Unwrap
src/util/helpers.cpp:96
Method
Upcast
src/util/custom-table.cpp:41
Method
Upcast
src/util/custom-table.cpp:59
Method
VTab
src/util/custom-table.cpp:27
Method
Validate
Checks whether the given file descriptors can be used to open a database. Returns NULL on success, or an error message on failure.
src/util/fd-vfs.cpp:87
Function
arrayAppender
(array, ...values)
lib/database.js:98
Function
arrayFactory
(...values)
lib/database.js:94
Function
async
(fn)
benchmark/benchmark.js:9
Method
constructor
(message, code)
lib/sqlite-error.js:4
Function
expectBusy
()
test/33.database.aggregate.js:356
Function
fn
()
test/30.database.transaction.js:24
Function
getBinding
(nativeBinding)
lib/binding.js:9
Function
identifier
lib/methods/table.js:188
Method
operator()
src/objects/database.hpp:12
Method
operator()
src/objects/database.hpp:17
Method
operator()
src/objects/database.hpp:22
Function
progress
(...args)
test/36.database.backup.js:86
Function
reasonIs
(reason)
test/36.database.backup.js:18
Function
recordFactory
(value)
lib/database.js:118
Function
rowFactory
(...keys)
lib/database.js:105
Function
rows
(a)
test/40.bigints.js:71
Function
rows
()
test/34.database.table.js:112
Function
rows
()
test/42.integrity.js:173
Function
shouldReject
()
test/36.database.backup.js:17
Function
sortTrials
(a, b)
benchmark/index.js:25
Function
sqlite3_extension_init
deps/test_extension.c:13
Function
step
(ctx, ...args)
test/33.database.aggregate.js:144
Function
sync
(fn)
benchmark/benchmark.js:5
Function
verbose
(...args)
test/43.verbose.js:26
Function
wrapped
benchmark/benchmark.js:10
Method
xAccess
Like SQLite's unix VFS, an empty journal is reported as nonexistent.
src/util/fd-vfs.cpp:898
Method
xBestIndex
This method tells SQLite how to *plan* queries on our virtual table. It gets invoked (typically multiple times) during db.prepare().
src/util/custom-table.cpp:289
Method
xCheckReservedLock
src/util/fd-vfs.cpp:616
Method
xClose
src/util/custom-table.cpp:167
Method
xClose
src/util/fd-vfs.cpp:448
Method
xColumn
This method extracts some column from the cursor's current row.
src/util/custom-table.cpp:264
Method
xConnect
This method uses the factory function to instantiate a new virtual table.
src/util/custom-table.cpp:105
Method
xCreate
Although this function does nothing, we cannot use xConnect directly, because that would cause SQLite to register an eponymous virtual table.
src/util/custom-table.cpp:100
Method
xCurrentTimeInt64
src/util/fd-vfs.cpp:955
Method
xDelete
Journals are never deleted, because they couldn't be re-created without permission to create files in the database's directory. Instead, they're trunc
src/util/fd-vfs.cpp:879
Method
xDestroy
src/util/custom-function.cpp:19
Method
xDeviceCharacteristics
src/util/fd-vfs.cpp:442
Method
xDisconnect
src/util/custom-table.cpp:157
Method
xDlClose
src/util/fd-vfs.cpp:935
Method
xDlError
src/util/fd-vfs.cpp:927
Method
xDlOpen
src/util/fd-vfs.cpp:923
Method
xEof
If this method returns 1, SQLite will stop scanning the virtual table.
src/util/custom-table.cpp:259
Method
xFileControl
src/util/fd-vfs.cpp:639
Method
xFileSize
src/util/fd-vfs.cpp:430
Method
xFilter
This method uses a fresh cursor to start a new scan of a virtual table. The args and idxNum are provided by xBestIndex (idxStr is unused). idxNum is a
src/util/custom-table.cpp:175
Method
xFinal
src/util/custom-aggregate.cpp:33
Method
xFullPathname
src/util/fd-vfs.cpp:913
Method
xFunc
src/util/custom-function.cpp:23
Method
xGetLastError
src/util/fd-vfs.cpp:951
Method
xGetSystemCall
src/util/fd-vfs.cpp:972
Method
xInverse
src/util/custom-aggregate.cpp:25
Method
xJournalCheckReservedLock
src/util/fd-vfs.cpp:704
Method
xJournalClose
src/util/fd-vfs.cpp:691
Method
xJournalFileControl
src/util/fd-vfs.cpp:709
Method
xJournalLock
src/util/fd-vfs.cpp:700
Method
xLock
We make sure that the database and journal files are still where other connections would look for them whenever a transaction begins (i.e., when acqui
src/util/fd-vfs.cpp:488
Method
xNext
This method advances a virtual table's cursor to the next row. SQLite will call this method repeatedly, driving the generator function.
src/util/custom-table.cpp:231
Method
xNextSystemCall
src/util/fd-vfs.cpp:978
Method
xOpen
src/util/custom-table.cpp:162
Method
xOpen
src/util/fd-vfs.cpp:732
Method
xRandomness
src/util/fd-vfs.cpp:939
Method
xRead
src/util/fd-vfs.cpp:357
Method
xRowid
This method outputs the rowid of the cursor's current row.
src/util/custom-table.cpp:282
Method
xSectorSize
src/util/fd-vfs.cpp:438
Method
xSetSystemCall
src/util/fd-vfs.cpp:966
Method
xSleep
src/util/fd-vfs.cpp:943
Method
xStep
src/util/custom-aggregate.cpp:21
Method
xStepBase
src/util/custom-aggregate.cpp:39
Method
xSync
src/util/fd-vfs.cpp:425
Method
xTruncate
src/util/fd-vfs.cpp:403
Method
xUnlock
This is a port of posixUnlock() from SQLite's os_unix.c.
src/util/fd-vfs.cpp:578
Method
xValue
src/util/custom-aggregate.cpp:29
Method
xValueBase
src/util/custom-aggregate.cpp:57
Method
xWrite
src/util/fd-vfs.cpp:378
Method
~Backup
src/objects/backup.cpp:15
Method
~BindMap
src/util/bind-map.cpp:36
Method
~CustomFunction
src/util/custom-function.cpp:17
Method
~Database
src/objects/database.cpp:30
Method
~Statement
src/objects/statement.cpp:19
Method
~StatementIterator
The ~Statement destructor currently covers any state this object creates. Additionally, we actually DON'T want to revert stmt->locked or db_state ->it
src/objects/statement-iterator.cpp:20
← previous
201–287 of 287, ranked by callers