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
↓ 8 callers
Function
fn
(...args)
test/32.database.function.js:92
↓ 7 callers
Method
GetState
src/objects/database.hpp:55
↓ 7 callers
Function
GetValueJS
src/util/data.cpp:72
↓ 7 callers
Function
StringFromUtf8
src/util/helpers.cpp:1
↓ 6 callers
Function
InternalizedFromLatin1
src/util/helpers.cpp:14
↓ 5 callers
Function
InternalizedFromUtf8
src/util/helpers.cpp:5
↓ 5 callers
Method
PropagateJSError
src/util/custom-table.cpp:343
↓ 4 callers
Function
NewConstructorTemplate
src/util/helpers.cpp:41
↓ 4 callers
Function
SetFrozen
src/util/helpers.cpp:18
↓ 4 callers
Function
SetPrototypeMethod
src/util/helpers.cpp:53
↓ 4 callers
Function
ThrowTypeError
src/util/helpers.cpp:23
↓ 3 callers
Method
Downcast
src/util/custom-table.cpp:45
↓ 3 callers
Method
GetAddon
src/objects/database.hpp:57
↓ 3 callers
Method
GetBindMap
Returns the Statement's bind map (creates it upon first execution).
src/objects/statement.cpp:40
↓ 3 callers
Method
GetSize
src/util/bind-map.cpp:45
↓ 3 callers
Method
GetVTab
src/util/custom-table.cpp:67
↓ 3 callers
Function
ResultValueFromJS
src/util/data.cpp:189
↓ 2 callers
Method
CloseHandles
Whenever this is used, db->RemoveBackup must be invoked beforehand.
src/objects/backup.cpp:27
↓ 2 callers
Function
Database
(filenameGiven, options)
lib/database.js:9
↓ 2 callers
Function
GetArgumentsJS
src/util/data.cpp:177
↓ 2 callers
Method
GetHandle
src/objects/database.hpp:56
↓ 2 callers
Function
GetRowJS
src/util/data.cpp:122
↓ 2 callers
Function
IS_SKIPPED
Determines whether to skip the given character at the start of an SQL string.
src/util/helpers.cpp:27
↓ 2 callers
Method
Log
Allows Statements to log their executed SQL.
src/objects/database.cpp:80
↓ 2 callers
Method
NextId
src/addon.cpp:14
↓ 2 callers
Method
PropagateJSError
src/util/custom-aggregate.cpp:111
↓ 2 callers
Method
RemoveBackup
src/objects/database.hpp:40
↓ 2 callers
Function
SetPrototypeGetter
src/util/helpers.cpp:81
↓ 2 callers
Method
ThrowDatabaseError
src/objects/database.cpp:54
↓ 2 callers
Function
ThrowError
src/util/helpers.cpp:22
↓ 2 callers
Function
ThrowRangeError
src/util/helpers.cpp:24
↓ 2 callers
Function
parseTableDefinition
(def, verb, moduleName)
lib/methods/table.js:41
↓ 1 callers
Method
Add
Adds a pair to the bind map, expanding the capacity if necessary.
src/util/bind-map.cpp:50
↓ 1 callers
Method
AddBackup
Allow Backups to manage themselves when created and garbage collected.
src/objects/database.hpp:39
↓ 1 callers
Method
AddStatement
Allow Statements to manage themselves when created and garbage collected.
src/objects/database.hpp:35
↓ 1 callers
Function
BindValueFromJS
src/util/data.cpp:184
↓ 1 callers
Method
CloseHandles
Whenever this is used, addon->dbs.erase() must be invoked beforehand.
src/objects/database.cpp:42
↓ 1 callers
Method
Code
src/util/constants.cpp:4
↓ 1 callers
Function
GetExpandedRowJS
src/util/data.cpp:80
↓ 1 callers
Function
GetFlatRowJS
src/util/data.cpp:101
↓ 1 callers
Method
GetIndex
src/util/bind-map.cpp:9
↓ 1 callers
Method
GetName
src/util/bind-map.cpp:13
↓ 1 callers
Method
GetPairs
src/util/bind-map.cpp:41
↓ 1 callers
Function
GetRawRowJS
src/util/data.cpp:113
↓ 1 callers
Method
GetRowJS
src/util/row-builder.cpp:15
↓ 1 callers
Function
InternalizedFromUtf8OrNull
src/util/helpers.cpp:9
↓ 1 callers
Method
Next
src/objects/statement-iterator.cpp:26
↓ 1 callers
Method
PropagateJSError
src/util/custom-function.cpp:42
↓ 1 callers
Method
RemoveStatement
src/objects/database.hpp:36
↓ 1 callers
Method
Return
src/objects/statement-iterator.cpp:51
↓ 1 callers
Function
SetPrototypeSymbolMethod
src/util/helpers.cpp:67
↓ 1 callers
Function
SqliteError
(message, code)
lib/sqlite-error.js:4
↓ 1 callers
Method
ThrowDataConversionError
src/util/data-converter.cpp:4
↓ 1 callers
Function
allowed
test/42.integrity.js:22
↓ 1 callers
Function
assertStmt
(stmt, source, db, reader, readonly)
test/13.database.prepare.js:12
↓ 1 callers
Function
backup
test/36.database.backup.js:139
↓ 1 callers
Function
bind
(stmt)
test/42.integrity.js:342
↓ 1 callers
Function
blocked
test/42.integrity.js:23
↓ 1 callers
Function
createContext
(trial, driver)
benchmark/index.js:40
↓ 1 callers
Function
customAggregateArg
(name, options, dontDefine)
test/40.bigints.js:83
↓ 1 callers
Function
customFunctionArg
(name, options, dontDefine)
test/40.bigints.js:78
↓ 1 callers
Function
customTableArg
(name, options, dontDefine)
test/40.bigints.js:88
↓ 1 callers
Function
defer
lib/methods/table.js:189
↓ 1 callers
Function
display
(result)
benchmark/benchmark.js:14
↓ 1 callers
Function
displayTrialName
(trial)
benchmark/index.js:33
↓ 1 callers
Function
erase
()
benchmark/index.js:45
↓ 1 callers
Function
expectError
(name, exception)
test/32.database.function.js:105
↓ 1 callers
Function
expectError
(exception, fn)
test/33.database.aggregate.js:476
↓ 1 callers
Function
expectError
(exception, fn)
test/34.database.table.js:551
↓ 1 callers
Function
extractRowArray
(row, output, columnCount, moduleName)
lib/methods/table.js:149
↓ 1 callers
Function
extractRowObject
(row, output, columnMap, moduleName)
lib/methods/table.js:159
↓ 1 callers
Function
fillWall
(count, expectation)
test/31.database.checkpoint.js:20
↓ 1 callers
Function
filterBySearchTerms
(searchTerms)
benchmark/index.js:13
↓ 1 callers
Method
foo
()
test/10.database.open.js:171
↓ 1 callers
Function
fulfillsWith
(value, p)
test/36.database.backup.js:15
↓ 1 callers
Function
func
()
test/42.integrity.js:8
↓ 1 callers
Function
getBinding
test/10.database.open.js:126
↓ 1 callers
Function
getController
(db, self)
lib/methods/transaction.js:31
↓ 1 callers
Function
getFunctionOption
(options, key, required)
lib/methods/aggregate.js:32
↓ 1 callers
Function
getLength
({ length })
lib/methods/aggregate.js:40
↓ 1 callers
Function
getTrials
(searchTerms)
benchmark/index.js:5
↓ 1 callers
Function
inferParameters
({ length })
lib/methods/table.js:174
↓ 1 callers
Function
length
test/32.database.function.js:38
↓ 1 callers
Function
length
test/33.database.aggregate.js:65
↓ 1 callers
Function
length
test/34.database.table.js:74
↓ 1 callers
Function
matchesFrom
(rows, i)
test/22.statement.all.js:37
↓ 1 callers
Function
moduleExists
(moduleName)
benchmark/drivers.js:30
↓ 1 callers
Function
normally
test/42.integrity.js:24
↓ 1 callers
Function
rejectsWith
(type, p)
test/36.database.backup.js:16
↓ 1 callers
Function
runBackup
(backup, handler)
lib/methods/backup.js:36
↓ 1 callers
Function
shouldHave
(desiredData)
test/23.statement.iterate.js:84
↓ 1 callers
Function
shouldThrow
(fn)
test/43.verbose.js:80
↓ 1 callers
Function
source
(filename1, filename2)
test/41.at-exit.js:8
↓ 1 callers
Function
testTimeout
(timeout)
test/10.database.open.js:95
↓ 1 callers
Function
use
(stmt, fn)
test/43.verbose.js:92
↓ 1 callers
Function
whileBusy
(self, fn)
test/42.integrity.js:30
↓ 1 callers
Function
whileClosed
(self, fn)
test/42.integrity.js:36
↓ 1 callers
Function
whileIterating
(self, fn)
test/42.integrity.js:25
↓ 1 callers
Function
wrapFactory
(factory)
lib/methods/table.js:23
↓ 1 callers
Function
wrapGenerator
(generator, columnMap, moduleName)
lib/methods/table.js:123
next →
1–100 of 211, ranked by callers