MCPcopy Create free account

hub / github.com/TanStack/db / functions

Functions3,143 in github.com/TanStack/db

↓ 1 callersMethodstartHeartbeat
()
packages/offline-transactions/src/coordination/BroadcastChannelLeader.ts:126
↓ 1 callersMethodstartInternal
()
packages/db-sqlite-persistence-core/src/persisted.ts:893
↓ 1 callersMethodstartListening
()
packages/offline-transactions/src/connectivity/OnlineDetector.ts:17
↓ 1 callersMethodstartListening
()
packages/offline-transactions/src/connectivity/ReactNativeOnlineDetector.ts:23
↓ 1 callersFunctionstartOngoingFetch
()
packages/rxdb-db-collection/src/rxdb.ts:211
↓ 1 callersMethodstopHeartbeat
()
packages/offline-transactions/src/coordination/BroadcastChannelLeader.ts:138
↓ 1 callersFunctionstringifyUuid
(bytes: Uint8Array)
packages/trailbase-db-collection/e2e/trailbase.e2e.test.ts:54
↓ 1 callersFunctionstripChanges
(changes: Array<any>)
packages/db/tests/collection-truncate.test.ts:17
↓ 1 callersMethodsubscribe
()
packages/db-sqlite-persistence-core/src/persisted.ts:455
↓ 1 callersMethodsubscribe
(callback: () => void)
packages/offline-transactions/src/connectivity/OnlineDetector.ts:66
↓ 1 callersMethodsubscribeToAllCollections
* Creates per-alias subscriptions enabling self-join support. * Each alias gets its own subscription with independent filters, even for the same co
packages/db/src/query/live/collection-config-builder.ts:1051
↓ 1 callersMethodsubscribeToMatchingChanges
( whereExpression: BasicExpression<boolean> | undefined, includeInitialState: boolean, onStatusCha
packages/db/src/query/live/collection-subscriber.ts:181
↓ 1 callersMethodsubscribeToOrderedChanges
( whereExpression: BasicExpression<boolean> | undefined, orderByInfo: OrderByOptimizationInfo, onS
packages/db/src/query/live/collection-subscriber.ts:223
↓ 1 callersFunctiontagMatchesPattern
( tag: ParsedMoveTag, pattern: MovePattern, )
packages/electric-db-collection/src/tag-index.ts:96
↓ 1 callersMethodtake
(n: number, from: any, filterFn?: (key: TKey) => boolean)
packages/db/src/indexes/reverse-index.ts:39
↓ 1 callersMethodtakeFromLeft
(lhs: BNode<K, V>)
packages/db/src/utils/btree.ts:606
↓ 1 callersMethodtakeFromRight
(rhs: BNode<K, V>)
packages/db/src/utils/btree.ts:592
↓ 1 callersMethodtakeFromStart
(n: number, filterFn?: (key: TKey) => boolean)
packages/db/src/indexes/reverse-index.ts:43
↓ 1 callersMethodtakeReversed
* Returns the next n items in reverse sorted order
packages/db/src/indexes/basic-index.ts:382
↓ 1 callersMethodtakeReversed
( n: number, from: any, filterFn?: (key: TKey) => boolean, )
packages/db/src/indexes/reverse-index.ts:47
↓ 1 callersMethodtakeReversedFromEnd
( n: number, filterFn?: (key: TKey) => boolean, )
packages/db/src/indexes/reverse-index.ts:55
↓ 1 callersMethodtakeReversedFromEnd
* Returns the last n items from the end. * @param n - The number of items to return * @param filterFn - Optional filter function * @returns T
packages/db/src/indexes/btree-index.ts:383
↓ 1 callersFunctionteardown
()
packages/tauri-db-sqlite-persistence/e2e/shared/register-persisted-collection-conformance-suite.ts:16
↓ 1 callersFunctionteardown
()
packages/capacitor-db-sqlite-persistence/e2e/shared/register-persisted-collection-conformance-suite.ts:16
↓ 1 callersMethodterminate
()
packages/browser-db-sqlite-persistence/tests/opfs-database.test.ts:56
↓ 1 callersFunctiontestConsolidate
()
packages/db-ivm/tests/operators/consolidate.test.ts:13
↓ 1 callersFunctiontestCount
()
packages/db-ivm/tests/operators/count.test.ts:18
↓ 1 callersFunctiontestDistinct
()
packages/db-ivm/tests/operators/distinct.test.ts:15
↓ 1 callersFunctiontestJoin
()
packages/db-ivm/tests/operators/join.test.ts:18
↓ 1 callersFunctiontestJoin
(joinType: JoinType)
packages/db-ivm/tests/operators/join-types.test.ts:145
↓ 1 callersFunctiontestJoinType
(joinType: JoinType, autoIndex: `off` | `eager`)
packages/db/tests/query/join.test.ts:106
↓ 1 callersMethodtoArray
* Gets the current state of the collection as an Array * * @returns An Array containing all items in the collection
packages/db/src/collection/index.ts:850
↓ 1 callersFunctiontoBase32
(input: number)
packages/db-sqlite-persistence-core/src/persisted.ts:2796
↓ 1 callersFunctiontoBindableValue
(value: unknown)
packages/browser-db-sqlite-persistence/src/opfs-worker.ts:62
↓ 1 callersFunctiontoErrorCode
(error: unknown)
packages/browser-db-sqlite-persistence/src/opfs-worker.ts:103
↓ 1 callersFunctiontoExpr
(value: any)
packages/db/src/query/builder/index.ts:954
↓ 1 callersFunctiontoImportSpecifier
(rawSpecifier: string)
packages/expo-db-sqlite-persistence/tests/helpers/mobile-runtime-test-setup.ts:15
↓ 1 callersFunctiontoImportSpecifier
(rawSpecifier: string)
packages/react-native-db-sqlite-persistence/tests/helpers/mobile-runtime-test-setup.ts:15
↓ 1 callersFunctiontoPersistedMutationEnvelope
( mutation: PendingMutation<Record<string, unknown>>, )
packages/db-sqlite-persistence-core/src/persisted.ts:767
↓ 1 callersFunctiontoRowArray
( result: ReturnType<DurableObjectSqlStorageLike[`exec`]>, sql: string, )
packages/cloudflare-durable-objects-db-sqlite-persistence/src/do-driver.ts:62
↓ 1 callersFunctiontoSqlLiteral
(value)
packages/electron-db-sqlite-persistence/tests/e2e/fixtures/electron-main.mjs:20
↓ 1 callersFunctiontoSqlLiteral
(value: unknown)
packages/db-sqlite-persistence-core/tests/sqlite-core-adapter.test.ts:25
↓ 1 callersFunctiontoSqliteLiteral
(value: SqliteSupportedValue)
packages/db-sqlite-persistence-core/src/sqlite-core-adapter.ts:308
↓ 1 callersFunctiontoStableSerializable
(value: unknown)
packages/electric-db-collection/src/electric.ts:332
↓ 1 callersFunctiontoggleTodo
(todo: Todo)
examples/react/projects/src/routes/_authenticated/project/$projectId.tsx:80
↓ 1 callersMethodtouchRequiredIndexes
( collectionId: string, requiredIndexSignatures: ReadonlyArray<string> | undefined, )
packages/db-sqlite-persistence-core/src/sqlite-core-adapter.ts:1795
↓ 1 callersMethodtrackSentKeys
(changes: Array<ChangeMessage<any, string | number>>)
packages/db/src/collection/subscription.ts:688
↓ 1 callersMethodtrackSentValues
( changes: Array<ChangeMessage<any, string | number>>, comparator: (a: any, b: any) => number, )
packages/db/src/query/live/collection-subscriber.ts:433
↓ 1 callersMethodtransaction
( fn: (transactionDriver: SQLiteDriver) => Promise<T>, )
packages/browser-db-sqlite-persistence/src/wa-sqlite-driver.ts:68
↓ 1 callersMethodtransaction
( fn: (transactionDriver: SQLiteDriver) => Promise<TReturn>, )
packages/tauri-db-sqlite-persistence/src/tauri-sql-driver.ts:172
↓ 1 callersMethodtransaction
( fn: (transactionDriver: SQLiteDriver) => Promise<T>, )
packages/node-db-sqlite-persistence/src/node-driver.ts:116
↓ 1 callersMethodtransaction
( fn: (transactionDriver: SQLiteDriver) => Promise<T>, )
packages/capacitor-db-sqlite-persistence/src/capacitor-sqlite-driver.ts:163
↓ 1 callersFunctiontriggerMutation
(newValue: number)
examples/react/paced-mutations-demo/src/App.tsx:166
↓ 1 callersFunctiontryGrantNextLock
(name: string)
packages/browser-db-sqlite-persistence/tests/browser-coordinator.test.ts:63
↓ 1 callersFunctionunionSets
(sets: Array<Set<T>>)
packages/db/src/utils/index-optimization.ts:95
↓ 1 callersFunctionunloadSubset
(options: LoadSubsetOptions)
packages/powersync-db-collection/src/powersync.ts:604
↓ 1 callersMethodunloadSubset
* Notifies the sync layer that a subset is no longer needed. * @param options Options that identify what data is being unloaded
packages/db/src/collection/sync.ts:505
↓ 1 callersFunctionunregisterTransaction
(tx: Transaction<any>)
packages/db/src/transactions.ts:191
↓ 1 callersFunctionunsafeFnSelect
(query: QueryIR)
packages/db/src/query/optimizer.ts:1037
↓ 1 callersFunctionunsafeGroupBy
(query: QueryIR)
packages/db/src/query/optimizer.ts:1021
↓ 1 callersFunctionunsafeHaving
(query: QueryIR)
packages/db/src/query/optimizer.ts:1025
↓ 1 callersFunctionunsafeOrderBy
(query: QueryIR)
packages/db/src/query/optimizer.ts:1029
↓ 1 callersFunctionunsafeSelect
( query: QueryIR, whereClause: BasicExpression<boolean>, outerAlias: string, )
packages/db/src/query/optimizer.ts:1008
↓ 1 callersMethodunsubscribe
()
packages/db/src/query/live/collection-subscriber.ts:134
↓ 1 callersMethodupdate
( keys: (TKey | unknown) | Array<TKey | unknown>, configOrCallback: | ((draft: WritableDeep<TInp
packages/db/src/collection/index.ts:755
↓ 1 callersFunctionupdateRoutingIndex
( state: IncludesOutputState, correlationKey: unknown, childChanges: Map<unknown, Changes<any>>, )
packages/db/src/query/live/collection-config-builder.ts:1601
↓ 1 callersFunctionupdateRowAcrossCollections
( collections: ReadonlyArray<Collection<T, string | number>>, id: string, updates: Partial<T>, )
packages/electron-db-sqlite-persistence/tests/electron-persisted-collection.e2e.test.ts:183
↓ 1 callersFunctionupdateRowAcrossCollections
( collections: ReadonlyArray<Collection<T, string | number>>, id: string, updates: Partial<T>, )
packages/browser-db-sqlite-persistence/e2e/browser-single-tab-persisted-collection.e2e.test.ts:108
↓ 1 callersFunctionupdateRowAcrossCollections
( collections: ReadonlyArray<Collection<T, string | number>>, id: string, updates: Partial<T>, )
packages/tauri-db-sqlite-persistence/e2e/shared/tauri-persisted-collection-harness.ts:107
↓ 1 callersFunctionupdateRowAcrossCollections
( collections: ReadonlyArray<Collection<T, string | number>>, id: string, updates: Partial<T>, )
packages/expo-db-sqlite-persistence/e2e/mobile-persisted-collection-conformance-suite.ts:106
↓ 1 callersFunctionupdateRowAcrossCollections
( collections: ReadonlyArray<Collection<T, string | number>>, id: string, updates: Partial<T>, )
packages/node-db-sqlite-persistence/e2e/node-persisted-collection.e2e.test.ts:104
↓ 1 callersFunctionupdateRowAcrossCollections
( collections: ReadonlyArray<Collection<T, string | number>>, id: string, updates: Partial<T>, )
packages/react-native-db-sqlite-persistence/e2e/mobile-persisted-collection-conformance-suite.ts:106
↓ 1 callersFunctionupdateRowAcrossCollections
( collections: ReadonlyArray<Collection<T, string | number>>, id: string, updates: Partial<T>, )
packages/capacitor-db-sqlite-persistence/e2e/shared/capacitor-persisted-collection-harness.ts:107
↓ 1 callersFunctionupdateTodo
(id: string, changes: Partial<Todo>)
packages/query-db-collection/tests/query.test.ts:2613
↓ 1 callersMethodupdateTransactions
(updatedTransactions: Array<OfflineTransaction>)
packages/offline-transactions/src/executor/KeyScheduler.ts:106
↓ 1 callersFunctionurlSafeBase64Decode
(base64: string)
packages/trailbase-db-collection/e2e/trailbase.e2e.test.ts:72
↓ 1 callersFunctionurlSafeBase64Encode
(bytes: Uint8Array)
packages/trailbase-db-collection/e2e/trailbase.e2e.test.ts:80
↓ 1 callersFunctionuseCustomHook
(wait: number)
packages/react-db/tests/usePacedMutations.test.tsx:137
↓ 1 callersFunctionuserBasicInfo
({ user }: { user: Ref<User> })
packages/db/tests/query/composables.test.ts:151
↓ 1 callersFunctionuserIsActive
({ user }: { user: Ref<User> })
packages/db/tests/query/composables.test.ts:121
↓ 1 callersFunctionuserIsYoung
({ user }: { user: Ref<User> })
packages/db/tests/query/composables.test.ts:124
↓ 1 callersFunctionuserNameTransforms
({ user }: { user: Ref<User> })
packages/db/tests/query/composables.test.ts:157
↓ 1 callersFunctionusesLocaleStringSort
* Whether the collection orders strings using locale collation. * * Under `stringSort: 'locale'` a BTree string index orders values with * `localeC
packages/db/src/utils/index-optimization.ts:133
↓ 1 callersFunctionvalidateAndCreateMapping
* Validates that all non-aggregate expressions in SELECT are present in GROUP BY * and creates a cached mapping for efficient lookup during processin
packages/db/src/query/compiler/group-by.ts:89
↓ 1 callersFunctionvalidateOperations
( operations: Array<NormalizedOperation<TRow, TKey>>, ctx: SyncContext<TRow, TKey>, )
packages/query-db-collection/src/manual-sync.ts:107
↓ 1 callersFunctionvalidatePersistedCollectionCoordinator
( coordinator: PersistedCollectionCoordinator, )
packages/db-sqlite-persistence-core/src/persisted.ts:487
↓ 1 callersFunctionvalidatePersistenceAdapter
(adapter: PersistenceAdapter)
packages/db-sqlite-persistence-core/src/persisted.ts:497
↓ 1 callersFunctionvalidateQueryKeyPrefix
(key: QueryKey)
packages/query-db-collection/src/query.ts:614
↓ 1 callersFunctionvalidateQueryStructure
* Validates the structure of a query and its subqueries. * Checks that subqueries don't reuse collection aliases from parent queries. * This must be
packages/db/src/query/compiler/index.ts:988
↓ 1 callersFunctionverifyMarkdownLinks
()
scripts/verify-links.ts:88
↓ 1 callersFunctionvisitSelectValue
( value: any, path: Array<string>, guards: Array<ConditionalSelectGuard>, )
packages/db/src/query/compiler/index.ts:1613
↓ 1 callersFunctionvisitSpreadSentinel
( key: string, value: any, path: Array<string>, guards: Array<ConditionalSelectGuard>, )
packages/db/src/query/compiler/index.ts:1587
↓ 1 callersFunctionwaitForAndroidBoot
( adbPath: string, deviceId: string, )
packages/capacitor-db-sqlite-persistence/e2e/run-android-e2e.ts:197
↓ 1 callersFunctionwaitForElectric
* Wait for Electric server to be ready
packages/db-collection-e2e/support/global-setup.ts:46
↓ 1 callersFunctionwaitForPostgres
* Wait for Postgres to be ready
packages/db-collection-e2e/support/global-setup.ts:75
↓ 1 callersFunctionwaitForResult
( adbPath: string, deviceId: string, )
packages/capacitor-db-sqlite-persistence/e2e/run-android-e2e.ts:342
↓ 1 callersFunctionwaitForResult
()
packages/capacitor-db-sqlite-persistence/e2e/run-ios-e2e.ts:216
↓ 1 callersFunctionwaitForTrailBase
(url: string)
packages/trailbase-db-collection/e2e/global-setup.ts:94
↓ 1 callersFunctionwalk
(node: IR.BasicExpression)
packages/query-db-collection/e2e/query-filter.ts:440
↓ 1 callersFunctionwatchWorkspacePackages
()
examples/react/offline-transactions/vite.config.ts:10
← previousnext →2,201–2,300 of 3,143, ranked by callers