MCPcopy Create free account

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

Functions287 in github.com/WiseLibs/better-sqlite3

↓ 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
↓ 1 callersFunctionwhileClosed
(self, fn)
test/42.integrity.js:36
↓ 1 callersFunctionwhileIterating
(self, fn)
test/42.integrity.js:25
↓ 1 callersFunctionwrapFactory
(factory)
lib/methods/table.js:23
↓ 1 callersFunctionwrapGenerator
(generator, columnMap, moduleName)
lib/methods/table.js:123
↓ 1 callersFunctionwrapTransaction
(apply, fn, db, { begin, commit, rollback, savepoint, release, rollbackTo })
lib/methods/transaction.js:52
↓ 1 callersMethodxCurrentTime
src/util/fd-vfs.cpp:947
Method(*xDlSym(sqlite3_vfs* vfs, void* handle, const char* symbol))
src/util/fd-vfs.cpp:931
FunctionALLOC_ARRAY
src/util/helpers.cpp:183
MethodAddon
src/addon.cpp:2
MethodBackup
src/objects/backup.cpp:3
MethodBase
src/util/fd-vfs.cpp:244
MethodBeginOperation
Marks the start of a new operation on this thread. Error messages recorded by earlier operations are then considered stale (see TakeErrorMessage()). T
src/util/fd-vfs.cpp:156
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:163
MethodBindArray
Binds each value in the array or throws an appropriate error. The number of successfully bound parameters is returned.
src/util/binder.cpp:95
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:120
MethodBindValue
Binds the value at the given index or throws an appropriate error.
src/util/binder.cpp:74
MethodBinder
src/util/binder.cpp:4
MethodCS
src/util/constants.cpp:12
MethodCleanup
src/addon.cpp:7
MethodCleanup
src/objects/statement-iterator.cpp:56
MethodClearError
src/util/fd-vfs.cpp:294
MethodCloseFd
src/util/fd-vfs.cpp:311
MethodCloseHandles
Whenever this is used, db->RemoveStatement must be invoked beforehand.
src/objects/statement.cpp:26
MethodClosePendingFds
src/util/fd-vfs.cpp:316
MethodCompare
Used to support ordered containers.
src/objects/statement.hpp:11
MethodCompare
Used to support ordered containers.
src/objects/backup.hpp:11
MethodConfigureURI
src/addon.cpp:17
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:12
FunctionDatabaseInspection
()
lib/methods/inspect.js:2
MethodDeserialize
src/objects/database.cpp:89
MethodDestroyAccumulator
src/util/custom-aggregate.cpp:105
MethodDestructor
src/util/custom-table.cpp:16
MethodDoneRecord
src/objects/statement-iterator.hpp:54
MethodDowncast
src/util/custom-table.cpp:63
MethodDup
Duplicates a file descriptor, avoiding stdio descriptor numbers (so that database content can never be written to stdout/stderr by accident).
src/util/fd-vfs.cpp:307
MethodExtras
src/objects/statement.cpp:51
FunctionFREE_ARRAY
src/util/helpers.cpp:188
MethodFail
Records an error message on the given main database File (see TakeErrorMessage()). The File's connection must be the caller (so we're on the thread wh
src/util/fd-vfs.cpp:280
MethodFail
src/util/binder.cpp:60
MethodFailOpen
Records an error message for the Open() call in progress on this thread.
src/util/fd-vfs.cpp:288
MethodFindMainFile
Given the name of a journal, returns the main database File that it belongs to, or NULL. This must be called while holding Mutex().
src/util/fd-vfs.cpp:268
MethodFindMainFileByPrefix
Returns the open main database File whose name is the first name_length characters of the given name, or NULL. This must be called while holding Mutex
src/util/fd-vfs.cpp:257
FunctionFoo
()
test/20.statement.run.js:152
MethodFreeSerialization
src/objects/database.cpp:121
MethodGetAccumulator
src/util/custom-aggregate.cpp:88
MethodGetDataErrorPrefix
src/util/custom-table.cpp:90
MethodGetDataErrorPrefix
src/util/custom-function.cpp:48
MethodGetPrototype
src/util/binder.cpp:36
MethodGrow
src/util/bind-map.cpp:58
FunctionINIT
src/objects/database.cpp:125
FunctionINIT
src/objects/backup.cpp:32
FunctionINIT
src/objects/statement.cpp:61
FunctionINIT
src/objects/statement-iterator.cpp:64
FunctionInitAll
src/better_sqlite3.cpp:49
MethodIsFdName
Returns whether the given filename belongs to this VFS (i.e., it is the name of a database opened by file descriptor, or one of its side files).
src/util/fd-vfs.cpp:250
FunctionIsInstanceOf
src/util/helpers.cpp:116
MethodIsLinked
Returns whether the file still has a name in the filesystem.
src/util/fd-vfs.cpp:300
MethodIsPlainObject
An object is "plain" if its prototype is null or a top-level prototype (i.e., some realm's Object.prototype). Rather than comparing against the curren
src/util/binder.cpp:51
MethodLock
This is a port of unixLock() from SQLite's os_unix.c. Refer to it for detailed commentary on the locking protocol.
src/util/fd-vfs.cpp:505
MethodLockError
src/util/fd-vfs.cpp:339
FunctionNODE_GETTER
src/objects/database.cpp:450
FunctionNODE_GETTER
src/objects/statement.cpp:381
FunctionNODE_METHOD
src/objects/database.cpp:141
FunctionNODE_METHOD
src/objects/backup.cpp:39
FunctionNODE_METHOD
src/objects/statement.cpp:77
FunctionNODE_METHOD
src/objects/statement-iterator.cpp:72
MethodNODE_METHOD
src/addon.cpp:33
MethodNewRecord
src/objects/statement-iterator.hpp:22
MethodNextAnonIndex
src/util/binder.cpp:68
MethodOpen
Opens a database connection whose main database file and rollback journal are the given file descriptors (which must have been checked by Validate()).
src/util/fd-vfs.cpp:132
MethodOpenJournal
src/util/fd-vfs.cpp:854
MethodOpenMain
src/util/fd-vfs.cpp:757
MethodPair
src/util/bind-map.cpp:19
MethodPropagateJSError
src/util/custom-table.cpp:85
FunctionPrototypeMethod
src/util/helpers.cpp:142
FunctionPrototypeSymbolMethod
src/util/helpers.cpp:152
MethodRegister
Registers the VFS with SQLite. This is idempotent and thread-safe.
src/util/fd-vfs.cpp:52
MethodRowBuilder
src/util/row-builder.cpp:1
MethodSetCode
src/util/constants.cpp:167
FunctionSetInstanceGetter
src/util/helpers.cpp:167
MethodSetLock
Acquires, upgrades, or releases an OS-level lock on the given byte range. Returns 0 on success, or -1 with errno set on failure.
src/util/fd-vfs.cpp:323
MethodSetString
src/util/constants.cpp:163
MethodStatement
src/objects/statement.cpp:3
MethodStatementIterator
src/objects/statement-iterator.cpp:3
MethodSync
src/util/fd-vfs.cpp:408
MethodTakeErrorMessage
SQLite has no way for a VFS to provide an error message, so when this VFS fails with a specific reason, it records the message on the connection's mai
src/util/fd-vfs.cpp:169
MethodTempDataConverter
src/util/custom-table.cpp:81
FunctionTestExtensionFunction
deps/test_extension.c:2
MethodThrow
src/objects/statement-iterator.cpp:50
MethodThrowSqliteError
src/objects/database.cpp:53
← previousnext →101–200 of 287, ranked by callers