MCPcopy Create free account

hub / github.com/TanStack/db / functions

Functions3,143 in github.com/TanStack/db

↓ 5 callersFunctioncreateSerializer
()
packages/offline-transactions/tests/TransactionSerializer.test.ts:12
↓ 5 callersFunctioncreateSyncCollection
( id: string, getKey: (item: T) => string | number, )
packages/db/tests/query/includes.test.ts:6299
↓ 5 callersFunctioncreateTempSqlitePath
()
packages/expo-db-sqlite-persistence/tests/expo-sqlite-driver.test.ts:18
↓ 5 callersFunctioncreateUnknownCollectionError
(collectionId)
packages/electron-db-sqlite-persistence/tests/e2e/fixtures/electron-main.mjs:261
↓ 5 callersFunctioncreateUsersCollection
(autoIndex: `off` | `eager` = `eager`)
packages/db/tests/query/distinct.test.ts:113
↓ 5 callersFunctioncreateUsersCollection
()
packages/db/tests/query/optional-fields-runtime.test.ts:21
↓ 5 callersFunctioncreateUsersCollection
()
packages/db/tests/query/functional-variants.test.ts:82
↓ 5 callersFunctiondenormalizeUndefined
(value: any)
packages/db/src/utils/comparison.ts:233
↓ 5 callersMethoddigest
()
packages/db-ivm/src/hashing/murmur.ts:121
↓ 5 callersMethoddispose
()
examples/react-native/shopping-list/src/network/SimulatedOnlineDetector.ts:28
↓ 5 callersMethodemitEvents
* Emit events either immediately or batch them for later emission
packages/db/src/collection/changes.ts:76
↓ 5 callersFunctionensureContext
()
packages/query-db-collection/src/manual-sync.ts:235
↓ 5 callersFunctionensureIndexForField
( fieldName: string, fieldPath: Array<string>, collection: CollectionImpl<T, TKey, any, any, any>, com
packages/db/src/indexes/auto-index.ts:19
↓ 5 callersMethodexecuteAll
()
packages/offline-transactions/src/executor/TransactionExecutor.ts:46
↓ 5 callersFunctionextractFromQuery
(q: any)
packages/db/src/query/live/utils.ts:43
↓ 5 callersFunctiongetActiveTransaction
()
packages/db/src/transactions.ts:176
↓ 5 callersMethodgetActiveTransactionDriver
()
packages/react-native-db-sqlite-persistence/src/op-sqlite-driver.ts:417
↓ 5 callersMethodgetActiveTransactionDriver
()
packages/capacitor-db-sqlite-persistence/src/capacitor-sqlite-driver.ts:244
↓ 5 callersMethodgetDatabase
()
packages/tauri-db-sqlite-persistence/src/tauri-sql-driver.ts:209
↓ 5 callersMethodgetIterator
* This method returns an iterator over all values for a given key. * @param key - The key to get the values for. * @returns An iterator of value
packages/db-ivm/src/indexes.ts:246
↓ 5 callersFunctiongetKey
(item: Record<string, unknown>)
packages/rxdb-db-collection/src/rxdb.ts:113
↓ 5 callersFunctiongetPrefix
* This function extracts the prefix from a value. * @param value - The value to extract the prefix from. * @returns The prefix and the suffix.
packages/db-ivm/src/indexes.ts:481
↓ 5 callersMethodgetSubsetKey
(options: LoadSubsetOptions)
packages/db-sqlite-persistence-core/src/persisted.ts:1743
↓ 5 callersFunctionilike
( left: StringLike, right: StringLike, )
packages/db/src/query/builder/functions.ts:274
↓ 5 callersMethodinsert
(value: V)
packages/db-ivm/src/operators/topKArray.ts:154
↓ 5 callersMethodisLeader
(collectionId: string)
packages/electron-db-sqlite-persistence/src/electron-coordinator.ts:186
↓ 5 callersMethodisLoading
()
packages/query-db-collection/src/query.ts:328
↓ 5 callersFunctionisNestedSelectObject
Check if a value is a nested plain object in a select (not an IR expression node)
packages/db/src/query/compiler/index.ts:1893
↓ 5 callersFunctionisNestedSelectObject
* Check if a value is a nested select object (plain object, not an expression)
packages/db/src/query/live/utils.ts:239
↓ 5 callersFunctionkeyBy
( keyFn: (value: T) => K, )
packages/db-ivm/src/operators/keying.ts:13
↓ 5 callersFunctionmakeItemName
(index: number)
packages/db/tests/integration/uint8array-id-comparison.test.ts:13
↓ 5 callersFunctionmarkChanged
(state: ChangeTracker<object>)
packages/db/src/proxy.ts:690
↓ 5 callersMethodmarkCompleted
(transaction: OfflineTransaction)
packages/offline-transactions/src/executor/KeyScheduler.ts:58
↓ 5 callersFunctionnot
(value: ExpressionLike)
packages/db/src/query/builder/functions.ts:246
↓ 5 callersMethodobserveStreamPosition
( term: number, seq: number, rowVersion: number, )
packages/db-sqlite-persistence-core/src/persisted.ts:1699
↓ 5 callersFunctionparse
(record: TRecord)
packages/trailbase-db-collection/src/trailbase.ts:132
↓ 5 callersFunctionperformWriteOperations
( operations: | SyncOperation<TRow, TKey, TInsertInput> | Array<SyncOperation<TRow, TKey, TInsertInp
packages/query-db-collection/src/manual-sync.ts:139
↓ 5 callersMethodrangeQuery
* Performs a range query with options * This is more efficient for compound queries like "WHERE a > 5 AND a < 10"
packages/db/src/indexes/btree-index.ts:232
↓ 5 callersFunctionrecordBatches
(collection: any)
packages/db/tests/query/scheduler.test.ts:75
↓ 5 callersMethodreloadActiveSubsetsUnsafe
()
packages/db-sqlite-persistence-core/src/persisted.ts:2070
↓ 5 callersMethodremove
(id: string)
packages/offline-transactions/src/outbox/OutboxManager.ts:118
↓ 5 callersFunctionreportStatus
(phase: string, details?: unknown)
packages/tauri-db-sqlite-persistence/e2e/app/src/main.ts:48
↓ 5 callersMethodrequireAdapter
()
packages/electron-db-sqlite-persistence/src/electron-coordinator.ts:136
↓ 5 callersMethodrequireAdapter
()
packages/browser-db-sqlite-persistence/src/browser-coordinator.ts:136
↓ 5 callersMethodresetInstance
* Resets the singleton instance for tests.
packages/db/src/collection/cleanup-queue.ts:97
↓ 5 callersMethodrun
(sql: string, params: ReadonlyArray<unknown> = [])
packages/tauri-db-sqlite-persistence/src/tauri-sql-driver.ts:166
↓ 5 callersMethodset
(key: string, value: string)
packages/offline-transactions/src/storage/IndexedDBAdapter.ts:106
↓ 5 callersFunctionsimulateMustRefetch
()
packages/electric-db-collection/tests/electric-live-query.test.ts:173
↓ 5 callersFunctionsortByIndexAndId
* Helper function to sort results by index and then id
packages/db-ivm/tests/operators/topKWithIndex.test.ts:433
↓ 5 callersFunctionstableStringifyCollectionIndexValue
( value: CollectionIndexSerializableValue, )
packages/db/src/collection/indexes.ts:131
↓ 5 callersMethodstartSync
* Start the sync process for this collection * This is called when the collection is first accessed or preloaded
packages/db/src/collection/sync.ts:78
↓ 5 callersFunctionstartWranglerRuntime
(options: { persistPath: string syncEnabled?: boolean schemaVersion?: number collectionId?: string })
packages/cloudflare-durable-objects-db-sqlite-persistence/e2e/cloudflare-do-runtime-bridge.e2e.test.ts:99
↓ 5 callersFunctionstripChange
(change: any)
packages/db/tests/collection-truncate.test.ts:11
↓ 5 callersFunctiontoInlinedWhereClause
(compiled: { where?: string params: Array<unknown> })
packages/powersync-db-collection/src/powersync.ts:592
↓ 5 callersMethodtrackLoadPromise
* Tracks a load promise for isLoadingSubset state. * @internal This is for internal coordination (e.g., live-query glue code), not for general use.
packages/db/src/collection/sync.ts:445
↓ 5 callersFunctiontraverse
(q?: QueryIR)
packages/db/src/query/live/utils.ts:215
↓ 5 callersFunctionunkey
()
packages/db-ivm/src/operators/keying.ts:22
↓ 5 callersMethodvalidateCollectionUsable
* Validates that the collection is in a usable state for data operations * @private
packages/db/src/collection/lifecycle.ts:117
↓ 5 callersMethodvalues
* Get all values (virtual derived state)
packages/db/src/collection/state.ts:410
↓ 5 callersFunctionwaitForItemRemoved
( collection: Collection<any, any, any, any, any>, itemId: string, timeout: number = 2000,
packages/db-collection-e2e/src/suites/moves.suite.ts:110
↓ 5 callersFunctionwithChangeTracking
( target: T, callback: (proxy: T) => void, )
packages/db/src/proxy.ts:1152
↓ 5 callersFunctionwithHarness
( createHarness: SQLiteDriverContractHarnessFactory, fn: (harness: SQLiteDriverContractHarness) => Promise
packages/db-sqlite-persistence-core/tests/contracts/sqlite-driver-contract.ts:12
↓ 4 callersMethod#checkNotFinalized
()
packages/db-ivm/src/d2.ts:17
↓ 4 callersMethodaddTodo
()
examples/angular/todos/src/app/app.ts:155
↓ 4 callersFunctionareRefsEqual
(a: PropRef, b: PropRef)
packages/db/src/query/predicate-utils.ts:1110
↓ 4 callersFunctionareValuesEqual
(a: any, b: any)
packages/db/src/utils/comparison.ts:243
↓ 4 callersFunctionasPowerSyncRecord
(record: any)
packages/powersync-db-collection/src/helpers.ts:72
↓ 4 callersFunctionassertKnownCollection
(requestedCollectionId: string)
packages/electron-db-sqlite-persistence/tests/electron-ipc.test.ts:48
↓ 4 callersFunctioncancelPersistedRetentionExpiry
(hashedQueryKey: string)
packages/query-db-collection/src/query.ts:825
↓ 4 callersMethodclear
()
packages/offline-transactions/src/executor/KeyScheduler.ts:97
↓ 4 callersFunctioncombineWithAnd
* Helper function to combine multiple expressions with AND. * * If there's only one expression, it's returned as-is. * If there are multiple expres
packages/db/src/query/optimizer.ts:1224
↓ 4 callersFunctioncompare
(a: unknown, b: unknown)
packages/db/src/query/compiler/order-by.ts:99
↓ 4 callersFunctioncompareStringsCodePoint
(left: string, right: string)
packages/db/src/collection/indexes.ts:23
↓ 4 callersFunctioncompileExpression
* Compiles a BasicExpression to a SQL string, mutating the params array.
packages/powersync-db-collection/src/sqlite-compiler.ts:82
↓ 4 callersFunctionconcat
( other: IStreamBuilder<T2>, )
packages/db-ivm/src/operators/concat.ts:24
↓ 4 callersFunctioncountOperators
(expr: unknown, name: string)
packages/db/tests/cursor.property.test.ts:79
↓ 4 callersFunctioncreateCollationTestSuite
( getConfig: () => Promise<E2ETestConfig>, )
packages/db-collection-e2e/src/suites/collation.suite.ts:12
↓ 4 callersFunctioncreateDeduplicationTestSuite
( getConfig: () => Promise<E2ETestConfig>, )
packages/db-collection-e2e/src/suites/deduplication.suite.ts:12
↓ 4 callersFunctioncreateElectronRuntimeBridgeInvoke
( options: CreateElectronRuntimeBridgeInvokeOptions, )
packages/electron-db-sqlite-persistence/tests/e2e/electron-process-client.ts:369
↓ 4 callersFunctioncreateErrorHandlingTestCollection
( testId: string, queryFn: ReturnType<typeof vi.fn>, )
packages/query-db-collection/tests/query.test.ts:3111
↓ 4 callersFunctioncreateHarness
( options?: Omit< ConstructorParameters<typeof SQLiteCorePersistenceAdapter>[0], `driver` >, )
packages/db-sqlite-persistence-core/tests/sqlite-core-adapter.test.ts:189
↓ 4 callersFunctioncreateInvokeHarness
( dbPath: string, collectionId: string, allowAnyCollectionId: boolean = true, )
packages/electron-db-sqlite-persistence/tests/electron-ipc.test.ts:87
↓ 4 callersFunctioncreateIssueInput
(graph: D2)
packages/db/tests/query/compiler/subqueries.test.ts:28
↓ 4 callersFunctioncreateJoinsTestSuite
(getConfig: () => Promise<E2ETestConfig>)
packages/db-collection-e2e/src/suites/joins.suite.ts:12
↓ 4 callersFunctioncreateLiveUpdatesTestSuite
( getConfig: () => Promise<E2ETestConfig>, )
packages/db-collection-e2e/src/suites/live-updates.suite.ts:13
↓ 4 callersFunctioncreateLt
(left: any, right: any)
packages/db/tests/query/optimizer.test.ts:35
↓ 4 callersFunctioncreateMembersCollection
()
packages/db/tests/query/includes.test.ts:934
↓ 4 callersFunctioncreateMessagesCollection
()
packages/db/tests/query/select-spread.test-d.ts:26
↓ 4 callersFunctioncreateMessagesWithMetaCollection
()
packages/db/tests/query/select-spread.test.ts:55
↓ 4 callersFunctioncreateMockCollection
(id: string)
packages/db/tests/query/compiler/subquery-caching.test.ts:9
↓ 4 callersFunctioncreateMutationsTestSuite
( getConfig: () => Promise<E2ETestConfig>, )
packages/db-collection-e2e/src/suites/mutations.suite.ts:13
↓ 4 callersFunctioncreateOnDemandCollection
* Creates an on-demand collection with a loadSubset handler that supports * sorting, cursor-based pagination, and limit. Returns the collection and
packages/react-db/tests/useLiveInfiniteQuery.test.tsx:44
↓ 4 callersFunctioncreateOrdersCollectionWithTracking
()
packages/db/tests/query/load-subset-subquery.test.ts:98
↓ 4 callersFunctioncreatePaginationTestSuite
( getConfig: () => Promise<E2ETestConfig>, )
packages/db-collection-e2e/src/suites/pagination.suite.ts:17
↓ 4 callersFunctioncreatePersistedQueryAdapter
( seed: { rows?: ReadonlyMap<string, TItem> rowMetadata?: ReadonlyMap<string, unknown> collectio
packages/query-db-collection/tests/query.test.ts:101
↓ 4 callersFunctioncreatePredicatesTestSuite
( getConfig: () => Promise<E2ETestConfig>, )
packages/db-collection-e2e/src/suites/predicates.suite.ts:29
↓ 4 callersFunctioncreateProxy
(path: Array<string>)
packages/db/src/query/builder/ref-proxy.ts:54
↓ 4 callersFunctioncreateSingleRowRefProxy
()
packages/db/src/query/builder/ref-proxy.ts:49
↓ 4 callersFunctioncreateTeamsCollection
()
packages/db/tests/query/includes.test.ts:924
↓ 4 callersFunctioncreateTempDbPath
()
packages/electron-db-sqlite-persistence/tests/electron-ipc.test.ts:161
← previousnext →601–700 of 3,143, ranked by callers