Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WiseLibs/better-sqlite3
/ functions
Functions
211 in github.com/WiseLibs/better-sqlite3
⨍
Functions
211
◇
Types & classes
72
↓ 1 callers
Function
wrapTransaction
(apply, fn, db, { begin, commit, rollback, savepoint, release, rollbackTo })
lib/methods/transaction.js:52
Function
ALLOC_ARRAY
src/util/helpers.cpp:32
Method
Addon
src/addon.cpp:2
Method
Backup
src/objects/backup.cpp:1
Method
Bind
src/util/binder.cpp:11
Method
BindArgs
Binds all parameters using the values found in the arguments object. Anonymous parameter values can be directly in the arguments object or in an Array
src/util/binder.cpp:149
Method
BindArray
Binds each value in the array or throws an appropriate error. The number of successfully bound parameters is returned.
src/util/binder.cpp:79
Method
BindMap
src/util/bind-map.cpp:29
Method
BindObject
Binds all named parameters using the values found in the given object. The number of successfully bound parameters is returned. If a named parameter i
src/util/binder.cpp:105
Method
BindValue
Binds the value at the given index or throws an appropriate error.
src/util/binder.cpp:58
Method
Binder
src/util/binder.cpp:4
Function
BufferSandboxNew
When V8 Sandbox is enabled (in newer Electron versions), we need to use Buffer::Copy instead of Buffer::New to ensure the ArrayBuffer backing store is
src/util/helpers.cpp:100
Method
CS
src/util/constants.cpp:10
Method
Cleanup
src/addon.cpp:7
Method
Cleanup
src/objects/statement-iterator.cpp:62
Method
CloseHandles
Whenever this is used, db->RemoveStatement must be invoked beforehand.
src/objects/statement.cpp:32
Method
Compare
Used to support ordered containers.
src/objects/statement.hpp:10
Method
Compare
Used to support ordered containers.
src/objects/backup.hpp:10
Method
ConfigureURI
src/addon.cpp:18
Method
CustomAggregate
src/util/custom-aggregate.cpp:4
Method
CustomFunction
src/util/custom-function.cpp:4
Method
CustomTable
src/util/custom-table.cpp:4
Method
Database
src/objects/database.cpp:13
Function
DatabaseInspection
()
lib/methods/inspect.js:2
Method
Deserialize
src/objects/database.cpp:92
Method
DestroyAccumulator
src/util/custom-aggregate.cpp:105
Method
Destructor
src/util/custom-table.cpp:16
Method
DoneRecord
src/objects/statement-iterator.hpp:33
Method
Downcast
src/util/custom-table.cpp:63
Method
Extras
src/objects/statement.cpp:52
Function
FREE_ARRAY
src/util/helpers.cpp:37
Method
Fail
src/util/binder.cpp:44
Function
Foo
()
test/20.statement.run.js:152
Method
FreeSerialization
src/objects/database.cpp:122
Method
GetAccumulator
src/util/custom-aggregate.cpp:88
Method
GetDataErrorPrefix
src/util/custom-table.cpp:90
Method
GetDataErrorPrefix
src/util/custom-function.cpp:48
Method
Grow
src/util/bind-map.cpp:58
Function
INIT
src/objects/database.cpp:126
Function
INIT
src/objects/backup.cpp:38
Function
INIT
src/objects/statement.cpp:55
Function
INIT
src/objects/statement-iterator.cpp:70
Method
IsPlainObject
src/util/binder.cpp:35
Function
NODE_GETTER
src/objects/database.cpp:410
Function
NODE_GETTER
src/objects/statement.cpp:380
Function
NODE_METHOD
src/objects/database.cpp:144
Function
NODE_METHOD
src/objects/backup.cpp:45
Function
NODE_METHOD
src/objects/statement.cpp:71
Function
NODE_METHOD
src/objects/statement-iterator.cpp:78
Method
NODE_METHOD
src/addon.cpp:34
Function
NODE_MODULE_INIT
src/better_sqlite3.cpp:48
Method
NewRecord
src/objects/statement-iterator.hpp:20
Method
NextAnonIndex
src/util/binder.cpp:52
Method
Pair
src/util/bind-map.cpp:19
Method
PropagateJSError
src/util/custom-table.cpp:85
Method
RowBuilder
src/util/row-builder.cpp:4
Method
SetCode
src/util/constants.cpp:165
Method
SetString
src/util/constants.cpp:161
Method
Statement
src/objects/statement.cpp:1
Method
StatementIterator
src/objects/statement-iterator.cpp:1
Method
TempDataConverter
src/util/custom-table.cpp:81
Function
TestExtensionFunction
deps/test_extension.c:2
Method
Throw
src/objects/statement-iterator.cpp:56
Method
ThrowSqliteError
src/objects/database.cpp:59
Method
Upcast
src/util/custom-table.cpp:41
Method
Upcast
src/util/custom-table.cpp:59
Method
VTab
src/util/custom-table.cpp:27
Function
async
(fn)
benchmark/benchmark.js:9
Function
expectBusy
()
test/33.database.aggregate.js:356
Function
fn
()
test/30.database.transaction.js:24
Function
identifier
lib/methods/table.js:188
Method
operator()
src/objects/database.hpp:11
Method
operator()
src/objects/database.hpp:16
Method
operator()
src/objects/database.hpp:21
Function
progress
(...args)
test/36.database.backup.js:86
Function
reasonIs
(reason)
test/36.database.backup.js:18
Function
rows
(a)
test/40.bigints.js:71
Function
rows
()
test/34.database.table.js:99
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
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:292
Method
xClose
src/util/custom-table.cpp:169
Method
xColumn
This method extracts some column from the cursor's current row.
src/util/custom-table.cpp:267
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
xDestroy
src/util/custom-function.cpp:19
Method
xDisconnect
src/util/custom-table.cpp:159
Method
xEof
If this method returns 1, SQLite will stop scanning the virtual table.
src/util/custom-table.cpp:262
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:177
Method
xFinal
src/util/custom-aggregate.cpp:33
Method
xFunc
src/util/custom-function.cpp:23
Method
xInverse
src/util/custom-aggregate.cpp:25
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:233
Method
xOpen
src/util/custom-table.cpp:164
← previous
next →
101–200 of 211, ranked by callers