MCPcopy Create free account

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

Functions228 in github.com/WiseLibs/better-sqlite3

↓ 12 callersFunctionSafeCall
src/util/helpers.cpp:47
↓ 9 callersMethoda
()
test/24.statement.bind.js:86
↓ 8 callersFunctionfn
(...args)
test/32.database.function.js:92
↓ 6 callersMethodGetState
src/objects/database.hpp:56
↓ 6 callersFunctionGetValueJS
src/util/data.cpp:73
↓ 6 callersFunctionStringFromUtf8
src/util/helpers.cpp:1
↓ 5 callersMethodPropagateJSError
src/util/custom-table.cpp:340
↓ 4 callersFunctionInternalizedFromUtf8
Node-API has no equivalent of V8's internalized strings, so these are simple aliases of StringFromUtf8; the names are kept to preserve the intent of c
src/util/helpers.cpp:10
↓ 4 callersFunctionRandomTypeTag
Generates a random type tag when the addon is loaded. Type tags must not be hardcoded, because multiple copies (or even different versions) of the add
src/util/helpers.cpp:103
↓ 4 callersFunctionSetFrozen
src/util/helpers.cpp:34
↓ 4 callersFunctionThrowTypeError
src/util/helpers.cpp:80
↓ 3 callersMethodDowncast
src/util/custom-table.cpp:45
↓ 3 callersMethodGetAddon
src/objects/database.hpp:58
↓ 3 callersMethodGetSize
src/util/bind-map.cpp:45
↓ 3 callersMethodGetVTab
src/util/custom-table.cpp:67
↓ 3 callersFunctionResultValueFromJS
src/util/data.cpp:129
↓ 2 callersMethodCloseHandles
Whenever this is used, db->RemoveBackup must be invoked beforehand.
src/objects/backup.cpp:22
↓ 2 callersFunctionDatabase
(filenameGiven, options)
lib/database.js:8
↓ 2 callersFunctionGetArgumentsJS
src/util/data.cpp:117
↓ 2 callersMethodGetHandle
src/objects/database.hpp:57
↓ 2 callersFunctionGetRowJS
src/util/data.cpp:108
↓ 2 callersFunctionIS_SKIPPED
Determines whether to skip the given character at the start of an SQL string.
src/util/helpers.cpp:176
↓ 2 callersFunctionInternalizedFromLatin1
src/util/helpers.cpp:19
↓ 2 callersMethodLog
Allows Statements to log their executed SQL.
src/objects/database.cpp:77
↓ 2 callersMethodNextId
src/addon.cpp:13
↓ 2 callersMethodPropagateJSError
src/util/custom-aggregate.cpp:111
↓ 2 callersMethodRemoveBackup
src/objects/database.hpp:41
↓ 2 callersFunctionSafeConstruct
src/util/helpers.cpp:53
↓ 2 callersFunctionSafeGetElement
src/util/helpers.cpp:65
↓ 2 callersMethodThrowDatabaseError
src/objects/database.cpp:49
↓ 2 callersFunctionThrowError
src/util/helpers.cpp:76
↓ 2 callersFunctionThrowRangeError
src/util/helpers.cpp:84
↓ 2 callersFunctiongetPrebuildPath
()
lib/binding.js:41
↓ 2 callersFunctionparseTableDefinition
(def, verb, moduleName)
lib/methods/table.js:41
↓ 1 callersMethodAdd
Adds a pair to the bind map, expanding the capacity if necessary.
src/util/bind-map.cpp:50
↓ 1 callersMethodAddBackup
Allow Backups to manage themselves when created and garbage collected.
src/objects/database.hpp:40
↓ 1 callersMethodAddStatement
Allow Statements to manage themselves when created and garbage collected.
src/objects/database.hpp:36
↓ 1 callersFunctionBindValueFromJS
src/util/data.cpp:124
↓ 1 callersMethodCloseHandles
Whenever this is used, addon->dbs.erase() must be invoked beforehand.
src/objects/database.cpp:37
↓ 1 callersMethodCode
src/util/constants.cpp:6
↓ 1 callersFunctionGetExpandedRowJS
src/util/data.cpp:81
↓ 1 callersFunctionGetFlatRowJS
src/util/data.cpp:100
↓ 1 callersMethodGetIndex
src/util/bind-map.cpp:9
↓ 1 callersMethodGetName
src/util/bind-map.cpp:13
↓ 1 callersMethodGetPairs
src/util/bind-map.cpp:41
↓ 1 callersFunctionGetRawRowJS
src/util/data.cpp:104
↓ 1 callersMethodGetRawRowJS
src/util/row-builder.cpp:40
↓ 1 callersMethodGetRowJS
src/util/row-builder.cpp:11
↓ 1 callersFunctionInternalizedFromUtf8OrNull
src/util/helpers.cpp:14
↓ 1 callersMethodNext
src/objects/statement-iterator.cpp:23
↓ 1 callersMethodPropagateJSError
src/util/custom-function.cpp:42
↓ 1 callersMethodRemoveStatement
src/objects/database.hpp:37
↓ 1 callersMethodReturn
src/objects/statement-iterator.cpp:45
↓ 1 callersFunctionSafeGet
src/util/helpers.cpp:59
↓ 1 callersFunctionSafeHasOwnProperty
Returns false if the check itself failed (leaving an exception pending).
src/util/helpers.cpp:72
↓ 1 callersMethodThrowDataConversionError
src/util/data-converter.cpp:4
↓ 1 callersFunctionallowed
test/42.integrity.js:22
↓ 1 callersFunctionassertStmt
(stmt, source, db, reader, readonly)
test/13.database.prepare.js:12
↓ 1 callersFunctionbackup
test/36.database.backup.js:139
↓ 1 callersFunctionbind
(stmt)
test/42.integrity.js:342
↓ 1 callersFunctionblocked
test/42.integrity.js:23
↓ 1 callersFunctioncreateContext
(trial, driver)
benchmark/index.js:40
↓ 1 callersFunctioncustomAggregateArg
(name, options, dontDefine)
test/40.bigints.js:83
↓ 1 callersFunctioncustomFunctionArg
(name, options, dontDefine)
test/40.bigints.js:78
↓ 1 callersFunctioncustomTableArg
(name, options, dontDefine)
test/40.bigints.js:88
↓ 1 callersFunctiondefer
lib/methods/table.js:189
↓ 1 callersFunctiondisplay
(result)
benchmark/benchmark.js:14
↓ 1 callersFunctiondisplayTrialName
(trial)
benchmark/index.js:33
↓ 1 callersFunctionerase
()
benchmark/index.js:45
↓ 1 callersFunctionexpectError
(name, exception)
test/32.database.function.js:105
↓ 1 callersFunctionexpectError
(exception, fn)
test/33.database.aggregate.js:476
↓ 1 callersFunctionexpectError
(exception, fn)
test/34.database.table.js:551
↓ 1 callersFunctionextractRowArray
(row, output, columnCount, moduleName)
lib/methods/table.js:149
↓ 1 callersFunctionextractRowObject
(row, output, columnMap, moduleName)
lib/methods/table.js:159
↓ 1 callersFunctionfillWall
(count, expectation)
test/31.database.checkpoint.js:20
↓ 1 callersFunctionfilterBySearchTerms
(searchTerms)
benchmark/index.js:13
↓ 1 callersMethodfoo
()
test/10.database.open.js:172
↓ 1 callersFunctionfulfillsWith
(value, p)
test/36.database.backup.js:15
↓ 1 callersFunctionfunc
()
test/42.integrity.js:8
↓ 1 callersFunctiongetBinding
test/10.database.open.js:127
↓ 1 callersFunctiongetController
(db, self)
lib/methods/transaction.js:31
↓ 1 callersFunctiongetFunctionOption
(options, key, required)
lib/methods/aggregate.js:32
↓ 1 callersFunctiongetLength
({ length })
lib/methods/aggregate.js:40
↓ 1 callersFunctiongetTrials
(searchTerms)
benchmark/index.js:5
↓ 1 callersFunctioninferParameters
({ length })
lib/methods/table.js:174
↓ 1 callersFunctionisLinuxMusl
()
lib/binding.js:52
↓ 1 callersFunctionlength
test/32.database.function.js:38
↓ 1 callersFunctionlength
test/33.database.aggregate.js:65
↓ 1 callersFunctionlength
test/34.database.table.js:74
↓ 1 callersFunctionmatchesFrom
(rows, i)
test/22.statement.all.js:37
↓ 1 callersFunctionmoduleExists
(moduleName)
benchmark/drivers.js:30
↓ 1 callersFunctionnormally
test/42.integrity.js:24
↓ 1 callersFunctionrejectsWith
(type, p)
test/36.database.backup.js:16
↓ 1 callersFunctionrunBackup
(backup, handler)
lib/methods/backup.js:36
↓ 1 callersFunctionshouldHave
(desiredData)
test/23.statement.iterate.js:84
↓ 1 callersFunctionshouldThrow
(fn)
test/43.verbose.js:80
↓ 1 callersFunctionsource
(filename1, filename2)
test/41.at-exit.js:8
↓ 1 callersFunctiontestTimeout
(timeout)
test/10.database.open.js:95
↓ 1 callersFunctionuse
(stmt, fn)
test/43.verbose.js:92
↓ 1 callersFunctionwhileBusy
(self, fn)
test/42.integrity.js:30
next →1–100 of 228, ranked by callers