MCPcopy Index your code

hub / github.com/rhashimoto/wa-sqlite / functions

Functions534 in github.com/rhashimoto/wa-sqlite

↓ 155 callersMethodget
(_, prop)
src/FacadeVFS.js:424
↓ 90 callersMethodexec
* One-step query execution interface * * The implementation of this function uses {@link row}, which makes a * copy of blobs and returns Big
src/types/index.d.ts:522
↓ 76 callersMethodjLock
* @param {number} fileId * @param {number} lockType * @returns {Promise<number>}
src/WebLocksMixin.js:49
↓ 56 callersMethodjUnlock
* @param {number} fileId * @param {number} lockType * @returns {Promise<number>}
src/WebLocksMixin.js:83
↓ 51 callersMethodclose
()
src/types/index.d.ts:40
↓ 50 callersMethodcreate
(extras = {})
test/TestContext.js:33
↓ 43 callersFunctiondecl
(s)
src/sqlite-api.js:888
↓ 28 callersMethodsetInt32
()
demo/file/service-worker.js:79
↓ 25 callersFunctionverifyStatement
(stmt)
src/sqlite-api.js:90
↓ 23 callersMethodstep
* Evaluate an SQL statement * @see https://www.sqlite.org/c3ref/step.html * @param stmt prepared statement pointer * @returns Promise resolvi
src/types/index.d.ts:747
↓ 22 callersMethodopen_v2
* Opening a new database connection. * * Note that this function differs from the C API in that it * returns the Promise-wrapped database po
src/types/index.d.ts:586
↓ 21 callersMethodstatements
* SQL statement iterator * * This function manages statement compilation by creating an async * iterator that yields a prepared statement ha
src/types/index.d.ts:738
↓ 18 callersFunctioni
(p)
test/api_statements.js:409
↓ 15 callersFunctioncheck
(fname, result, db = null, allowed = [SQLite.SQLITE_OK])
src/sqlite-api.js:856
↓ 15 callersMethodcolumn_count
* Get number of columns for a prepared statement * @see https://www.sqlite.org/c3ref/column_blob.html * @param stmt prepared statement pointer
src/types/index.d.ts:393
↓ 15 callersMethoddestroy
(proxy)
test/TestContext.js:65
↓ 15 callersFunctionlog
(...args)
demo/file/index.js:228
↓ 15 callersMethodq
* @param {(stores: Object.<string, IDBObjectStore>) => any} f * @param {'ro'|'rw'} mode * @returns {Promise<any>}
src/examples/IDBBatchAtomicVFS.js:654
↓ 13 callersMethod#acquire
* @param {LockState} lockState * @param {'gate'|'access'|'reserved'|'hint'} name * @param {LockOptions} options * @returns {Promise<boolean
src/WebLocksMixin.js:378
↓ 13 callersMethodcolumn_type
* Get column type for a prepared statement * * Note that this type may not match the type declared in `CREATE TABLE`. * @see https://www.sql
src/types/index.d.ts:459
↓ 13 callersMethodcreate_function
* Create or redefine SQL functions * * The application data passed is ignored. Use closures instead. * * If any callback function return
src/types/index.d.ts:492
↓ 13 callersMethodjOpen
* @param {string?} filename * @param {number} pFile * @param {number} flags * @param {DataView} pOutFlags * @returns {number|Promise<n
src/FacadeVFS.js:48
↓ 13 callersMethodstart
(controller)
demo/file/service-worker.js:75
↓ 12 callersFunctionclearAllLocks
()
test/WebLocksMixin.test.js:500
↓ 12 callersMethodsupportsJSPI
()
test/TestContext.js:75
↓ 11 callersMethod#lock
* Acquire one of the database file internal Web Locks. * @param {File} file * @param {'read'|'write'|'reserved'|'hint'} name * @param {Lock
src/examples/OPFSPermutedVFS.js:798
↓ 11 callersMethodvalue_type
* Get type of `sqlite3_value` * @see https://sqlite.org/c3ref/value_blob.html * @param pValue `sqlite3_value` pointer * @returns enumeration
src/types/index.d.ts:841
↓ 10 callersFunctionlog
(item)
demo/contention/contention.js:50
↓ 9 callersMethodcolumn
* Call the appropriate `column_*` function based on the column type * * The type is determined by calling {@link column_type}, which may * n
src/types/index.d.ts:363
↓ 9 callersMethodgetSize
* Returns the number of SQLite files in the file system. * @returns {number}
src/examples/AccessHandlePoolVFS.js:245
↓ 9 callersFunctionlog
(s)
demo/SharedService/index.js:59
↓ 9 callersFunctionlog
(s)
demo/SharedService-sw/index.js:61
↓ 9 callersMethodvalue_text
* Extract a value from `sqlite3_value` * @see https://sqlite.org/c3ref/value_blob.html * @param pValue `sqlite3_value` pointer * @returns val
src/types/index.d.ts:833
↓ 9 callersFunctionvfs_xAccess
(context)
test/vfs_xAccess.js:1
↓ 9 callersFunctionvfs_xClose
(context)
test/vfs_xClose.js:6
↓ 9 callersFunctionvfs_xOpen
(context)
test/vfs_xOpen.js:6
↓ 9 callersFunctionvfs_xRead
(context)
test/vfs_xRead.js:6
↓ 9 callersFunctionvfs_xWrite
(context)
test/vfs_xWrite.js:6
↓ 8 callersMethodcommit_hook
* Register a commit hook * * @see https://www.sqlite.org/c3ref/commit_hook.html * * @param db database pointer * @param callback If a
src/types/index.d.ts:470
↓ 8 callersMethodisReady
()
src/types/index.d.ts:41
↓ 8 callersMethodvalue
* Extract a value from `sqlite3_value` * * This is a convenience function that calls the appropriate `value_*` * function based on its type.
src/types/index.d.ts:781
↓ 8 callersMethodvfs_register
* Register a new Virtual File System. * * @see https://www.sqlite.org/c3ref/vfs_find.html * @param vfs VFS object * @param makeDefault
src/types/index.d.ts:851
↓ 7 callersMethodjAccess
* @param {string} filename * @param {number} flags * @param {DataView} pResOut * @returns {number|Promise<number>}
src/FacadeVFS.js:67
↓ 7 callersFunctionverifyDatabase
(db)
src/sqlite-api.js:83
↓ 6 callersMethodbind_parameter_name
* Get name of bound parameter * * Note that binding indices begin with 1. * @see https://www.sqlite.org/c3ref/bind_parameter_name.html *
src/types/index.d.ts:311
↓ 6 callersFunctioncheck
(code)
demo/file/index.js:242
↓ 6 callersMethodcolumn_name
* Get a column name for a prepared statement * @see https://www.sqlite.org/c3ref/column_blob.html * @param stmt prepared statement pointer *
src/types/index.d.ts:429
↓ 6 callersMethodjClose
* @param {number} pFile * @returns {number|Promise<number>}
src/FacadeVFS.js:97
↓ 5 callersMethod#lock
* Acquire one of the database file internal Web Locks. * @param {File} file * @param {'write'|'reserved'|'hint'} name * @param {LockOptions
src/examples/IDBMirrorVFS.js:776
↓ 5 callersMethod#setAssociatedPath
* Set the path on an OPFS file header. * @param accessHandle FileSystemSyncAccessHandle * @param {string} path * @param {number} flags
src/examples/AccessHandlePoolVFS.js:379
↓ 5 callersMethodcolumn_int
* Extract a column value from a row after a prepared statment {@link step} * @see https://www.sqlite.org/c3ref/column_blob.html * @param stmt pr
src/types/index.d.ts:411
↓ 5 callersMethodget_autocommit
* Test for autocommit mode * @see https://sqlite.org/c3ref/get_autocommit.html * @param db database pointer * @returns Non-zero if autocommit
src/types/index.d.ts:545
↓ 5 callersMethodjFileControl
* @param {number} fileId * @param {number} op * @param {DataView} pArg * @returns {number|Promise<number>}
src/WebLocksMixin.js:132
↓ 5 callersFunctionresetCallsCount
()
test/callbacks.test.js:440
↓ 5 callersMethodrow
* Get all column data for a row from a prepared statement step * * This convenience function will return a copy of any blob, unlike * {@l
src/types/index.d.ts:678
↓ 5 callersMethodsync
* @param {boolean} durable
src/examples/IDBBatchAtomicVFS.js:791
↓ 5 callersMethodupdate
()
docs/assets/main.js:5
↓ 5 callersMethodvalue_double
* Extract a value from `sqlite3_value` * @see https://sqlite.org/c3ref/value_blob.html * @param pValue `sqlite3_value` pointer * @returns val
src/types/index.d.ts:809
↓ 4 callersMethod#acceptTx
* @param {File} file * @param {Transaction} message
src/examples/OPFSPermutedVFS.js:892
↓ 4 callersMethod#makeTypedDataView
* Wrapped DataView for pointer arguments. * Pointers to a single value are passed using DataView. A Proxy * wrapper prevents use of incorrect ty
src/FacadeVFS.js:414
↓ 4 callersMethod#releaseAccessHandle
* @param {File} file
src/examples/OPFSCoopSyncVFS.js:542
↓ 4 callersMethod#setView
* @param {File} file * @param {Transaction} tx
src/examples/OPFSPermutedVFS.js:824
↓ 4 callersFunctionWebLocksMixin
src/WebLocksMixin.js:28
↓ 4 callersFunctionadapt
(f)
src/sqlite-api.js:390
↓ 4 callersMethodbind
* Bind value to prepared statement * * This convenience function calls the appropriate `bind_*` function * based on the type of `value`. Not
src/types/index.d.ts:233
↓ 4 callersMethodbind_text
* Bind string to prepared statement * * Note that binding indices begin with 1. * @see https://www.sqlite.org/c3ref/bind_blob.html * @par
src/types/index.d.ts:323
↓ 4 callersFunctioncheck
(code)
demo/file/service-worker.js:117
↓ 4 callersMethodcolumn_names
* Get names for all columns of a prepared statement * * This is a convenience function that calls {@link column_count} and * {@link column_n
src/types/index.d.ts:439
↓ 4 callersFunctioncvt32x2ToBigInt
* Concatenate 32-bit numbers into a 64-bit (signed) BigInt. * @param {number} lo32 * @param {number} hi32 * @returns {bigint}
src/sqlite-api.js:54
↓ 4 callersFunctioncvtArgs
(_, iAction, p3, p4, p5, p6)
src/sqlite-api.js:621
↓ 4 callersFunctiongetPathComponents
* Given a path, return the directory handle and filename. * @param {string} path * @param {boolean} create * @returns {Promise<[FileSystemDirecto
src/examples/OPFSPermutedVFS.js:1173
↓ 4 callersFunctiongetPathComponents
* @param {string} pathname * @param {boolean} create * @returns {Promise<[FileSystemDirectoryHandle, string]>}
src/examples/OPFSAdaptiveVFS.js:16
↓ 4 callersFunctiongetPathComponents
* @param {string} pathname * @param {boolean} create * @returns {Promise<[FileSystemDirectoryHandle, string]>}
src/examples/OPFSAnyContextVFS.js:11
↓ 4 callersFunctionidbX
* Wrap IndexedDB request with a Promise. * @param {IDBRequest} request * @returns
src/examples/IDBMirrorVFS.js:863
↓ 4 callersMethodjRead
* @param {number} pFile * @param {Uint8Array} pData * @param {number} iOffset * @returns {number|Promise<number>}
src/FacadeVFS.js:107
↓ 4 callersMethodjWrite
* @param {number} pFile * @param {Uint8Array} pData * @param {number} iOffset * @returns {number|Promise<number>}
src/FacadeVFS.js:118
↓ 4 callersMethodreset
* Reset a prepared statement object * @see https://www.sqlite.org/c3ref/reset.html * @param stmt prepared statement pointer * @returns Promis
src/types/index.d.ts:612
↓ 4 callersMethodset_authorizer
* Register a callback function that is invoked to authorize certain SQL statement actions. * @see https://www.sqlite.org/c3ref/set_authorizer.html
src/types/index.d.ts:687
↓ 3 callersMethod#getPath
* Convert a bare filename, path, or URL to a UNIX-style path. * @param {string|URL} nameOrURL * @returns {string} path
src/examples/AccessHandlePoolVFS.js:439
↓ 3 callersMethod#requestAccessHandle
* @param {File} file
src/examples/OPFSCoopSyncVFS.js:515
↓ 3 callersMethod#setView
* @param {File} file * @param {Transaction} tx
src/examples/IDBMirrorVFS.js:838
↓ 3 callersFunctionG
(t,e)
docs/assets/main.js:3
↓ 3 callersFunctionK
(t)
docs/assets/main.js:4
↓ 3 callersFunctionbasicTests
(policy)
test/WebLocksMixin.test.js:14
↓ 3 callersMethodbind_collection
* Bind a collection of values to a statement * * This convenience function binds values from either an array or object * to a prepared state
src/types/index.d.ts:218
↓ 3 callersMethodbind_int
* Bind number to prepared statement parameter * * Note that binding indices begin with 1. * @see https://www.sqlite.org/c3ref/bind_blob.html
src/types/index.d.ts:269
↓ 3 callersMethodbind_null
* Bind null to prepared statement * * Note that binding indices begin with 1. * @see https://www.sqlite.org/c3ref/bind_blob.html * @param
src/types/index.d.ts:292
↓ 3 callersMethodbind_parameter_count
* Get number of bound parameters * @see https://www.sqlite.org/c3ref/bind_parameter_count.html * @param stmt prepared statement pointer * @re
src/types/index.d.ts:300
↓ 3 callersFunctionchecksum
* Compute a page checksum. * @param {ArrayBufferView} data * @returns {Uint32Array}
src/examples/OPFSPermutedVFS.js:1203
↓ 3 callersMethodcolumn_blob
* Extract a column value from a row after a prepared statment {@link step} * * The contents of the returned buffer may be invalid after the
src/types/index.d.ts:376
↓ 3 callersMethodcolumn_double
* Extract a column value from a row after a prepared statment {@link step} * @see https://www.sqlite.org/c3ref/column_blob.html * @param stmt pr
src/types/index.d.ts:402
↓ 3 callersMethodcolumn_int64
* Extract a column value from a row after a prepared statment {@link step} * @see https://www.sqlite.org/c3ref/column_blob.html * @param stmt pr
src/types/index.d.ts:420
↓ 3 callersMethodcolumn_text
* Extract a column value from a row after a prepared statment {@link step} * @see https://www.sqlite.org/c3ref/column_blob.html * @param stmt pr
src/types/index.d.ts:448
↓ 3 callersFunctioncreateUTF8
(s)
src/sqlite-api.js:39
↓ 3 callersFunctioncvtCloneableToError
(e)
demo/benchmarks/benchmarks.js:108
↓ 3 callersFunctiondelegalize
(lo32, hi32)
src/FacadeVFS.js:506
↓ 3 callersMethodensureFocusedElementVisible
()
docs/assets/main.js:3
↓ 3 callersMethodgetCapacity
* Returns the maximum number of SQLite files the file system can hold. * @returns {number}
src/examples/AccessHandlePoolVFS.js:253
↓ 3 callersMethodgetFilename
(fileId)
src/examples/OPFSAdaptiveVFS.js:71
↓ 3 callersFunctionidbX
* @param {IDBRequest} request * @returns {Promise}
test/IDBBatchAtomicVFS.test.js:92
next →1–100 of 534, ranked by callers