MCPcopy Create free account

hub / github.com/WiseLibs/better-sqlite3 / functions

Functions211 in github.com/WiseLibs/better-sqlite3

↓ 1 callersFunctionwrapTransaction
(apply, fn, db, { begin, commit, rollback, savepoint, release, rollbackTo })
lib/methods/transaction.js:52
FunctionALLOC_ARRAY
src/util/helpers.cpp:32
MethodAddon
src/addon.cpp:2
MethodBackup
src/objects/backup.cpp:1
MethodBind
src/util/binder.cpp:11
MethodBindArgs
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
MethodBindArray
Binds each value in the array or throws an appropriate error. The number of successfully bound parameters is returned.
src/util/binder.cpp:79
MethodBindMap
src/util/bind-map.cpp:29
MethodBindObject
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
MethodBindValue
Binds the value at the given index or throws an appropriate error.
src/util/binder.cpp:58
MethodBinder
src/util/binder.cpp:4
FunctionBufferSandboxNew
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
MethodCS
src/util/constants.cpp:10
MethodCleanup
src/addon.cpp:7
MethodCleanup
src/objects/statement-iterator.cpp:62
MethodCloseHandles
Whenever this is used, db->RemoveStatement must be invoked beforehand.
src/objects/statement.cpp:32
MethodCompare
Used to support ordered containers.
src/objects/statement.hpp:10
MethodCompare
Used to support ordered containers.
src/objects/backup.hpp:10
MethodConfigureURI
src/addon.cpp:18
MethodCustomAggregate
src/util/custom-aggregate.cpp:4
MethodCustomFunction
src/util/custom-function.cpp:4
MethodCustomTable
src/util/custom-table.cpp:4
MethodDatabase
src/objects/database.cpp:13
FunctionDatabaseInspection
()
lib/methods/inspect.js:2
MethodDeserialize
src/objects/database.cpp:92
MethodDestroyAccumulator
src/util/custom-aggregate.cpp:105
MethodDestructor
src/util/custom-table.cpp:16
MethodDoneRecord
src/objects/statement-iterator.hpp:33
MethodDowncast
src/util/custom-table.cpp:63
MethodExtras
src/objects/statement.cpp:52
FunctionFREE_ARRAY
src/util/helpers.cpp:37
MethodFail
src/util/binder.cpp:44
FunctionFoo
()
test/20.statement.run.js:152
MethodFreeSerialization
src/objects/database.cpp:122
MethodGetAccumulator
src/util/custom-aggregate.cpp:88
MethodGetDataErrorPrefix
src/util/custom-table.cpp:90
MethodGetDataErrorPrefix
src/util/custom-function.cpp:48
MethodGrow
src/util/bind-map.cpp:58
FunctionINIT
src/objects/database.cpp:126
FunctionINIT
src/objects/backup.cpp:38
FunctionINIT
src/objects/statement.cpp:55
FunctionINIT
src/objects/statement-iterator.cpp:70
MethodIsPlainObject
src/util/binder.cpp:35
FunctionNODE_GETTER
src/objects/database.cpp:410
FunctionNODE_GETTER
src/objects/statement.cpp:380
FunctionNODE_METHOD
src/objects/database.cpp:144
FunctionNODE_METHOD
src/objects/backup.cpp:45
FunctionNODE_METHOD
src/objects/statement.cpp:71
FunctionNODE_METHOD
src/objects/statement-iterator.cpp:78
MethodNODE_METHOD
src/addon.cpp:34
FunctionNODE_MODULE_INIT
src/better_sqlite3.cpp:48
MethodNewRecord
src/objects/statement-iterator.hpp:20
MethodNextAnonIndex
src/util/binder.cpp:52
MethodPair
src/util/bind-map.cpp:19
MethodPropagateJSError
src/util/custom-table.cpp:85
MethodRowBuilder
src/util/row-builder.cpp:4
MethodSetCode
src/util/constants.cpp:165
MethodSetString
src/util/constants.cpp:161
MethodStatement
src/objects/statement.cpp:1
MethodStatementIterator
src/objects/statement-iterator.cpp:1
MethodTempDataConverter
src/util/custom-table.cpp:81
FunctionTestExtensionFunction
deps/test_extension.c:2
MethodThrow
src/objects/statement-iterator.cpp:56
MethodThrowSqliteError
src/objects/database.cpp:59
MethodUpcast
src/util/custom-table.cpp:41
MethodUpcast
src/util/custom-table.cpp:59
MethodVTab
src/util/custom-table.cpp:27
Functionasync
(fn)
benchmark/benchmark.js:9
FunctionexpectBusy
()
test/33.database.aggregate.js:356
Functionfn
()
test/30.database.transaction.js:24
Functionidentifier
lib/methods/table.js:188
Methodoperator()
src/objects/database.hpp:11
Methodoperator()
src/objects/database.hpp:16
Methodoperator()
src/objects/database.hpp:21
Functionprogress
(...args)
test/36.database.backup.js:86
FunctionreasonIs
(reason)
test/36.database.backup.js:18
Functionrows
(a)
test/40.bigints.js:71
Functionrows
()
test/34.database.table.js:99
Functionrows
()
test/42.integrity.js:173
FunctionshouldReject
()
test/36.database.backup.js:17
FunctionsortTrials
(a, b)
benchmark/index.js:25
Functionsqlite3_extension_init
deps/test_extension.c:13
Functionstep
(ctx, ...args)
test/33.database.aggregate.js:144
Functionsync
(fn)
benchmark/benchmark.js:5
Functionverbose
(...args)
test/43.verbose.js:26
Functionwrapped
benchmark/benchmark.js:10
MethodxBestIndex
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
MethodxClose
src/util/custom-table.cpp:169
MethodxColumn
This method extracts some column from the cursor's current row.
src/util/custom-table.cpp:267
MethodxConnect
This method uses the factory function to instantiate a new virtual table.
src/util/custom-table.cpp:105
MethodxCreate
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
MethodxDestroy
src/util/custom-function.cpp:19
MethodxDisconnect
src/util/custom-table.cpp:159
MethodxEof
If this method returns 1, SQLite will stop scanning the virtual table.
src/util/custom-table.cpp:262
MethodxFilter
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
MethodxFinal
src/util/custom-aggregate.cpp:33
MethodxFunc
src/util/custom-function.cpp:23
MethodxInverse
src/util/custom-aggregate.cpp:25
MethodxNext
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
MethodxOpen
src/util/custom-table.cpp:164
← previousnext →101–200 of 211, ranked by callers