MCPcopy Create free account

hub / github.com/TanStack/db / functions

Functions3,143 in github.com/TanStack/db

FunctionhandleOffline
()
examples/react/offline-transactions/src/components/TodoDemo.tsx:42
FunctionhandleOffline
()
examples/electron/offline-first/src/components/TodoList.tsx:25
FunctionhandleOnline
()
examples/react/offline-transactions/src/components/TodoDemo.tsx:36
FunctionhandleOnline
()
examples/electron/offline-first/src/components/TodoList.tsx:21
FunctionhandleRejection
(reason: any)
packages/db/tests/utils.ts:439
FunctionhandleStorageEvent
(event: StorageEvent)
packages/db/src/local-storage.ts:811
FunctionhandleSubmit
(e: FormEvent)
examples/react/projects/src/routes/login.tsx:17
FunctionhandleSubmit
(e: FormEvent)
examples/react/todo/src/components/TodoApp.tsx:101
FunctionhandleSubmit
(e)
examples/solid/todo/src/components/TodoApp.tsx:104
Functionhas
(target, prop)
packages/db/src/query/builder/ref-proxy.ts:71
FunctionhasLoadedIds
( collection: Collection<T>, ids: Array<string>, )
packages/db-collection-e2e/src/utils/helpers.ts:59
FunctionhasOnlyLoadedIds
( collection: Collection<T>, ids: Array<string>, )
packages/db-collection-e2e/src/utils/helpers.ts:70
MethodhasOrderByIndex
* Check if an orderBy index has been set for this subscription
packages/db/src/collection/subscription.ts:262
FunctionhasPendingWork
()
packages/db-ivm/src/graph.ts:72
MethodhasPresence
* Check if a key has presence (non-zero consolidated multiplicity). * @param key - The key to check. * @returns True if the key has non-zero con
packages/db-ivm/src/indexes.ts:211
MethodhasSentAtLeastOneSnapshot
()
packages/db/src/collection/subscription.ts:317
Functionheaders
()
examples/react/projects/src/lib/trpc-client.ts:8
Methodid
()
packages/offline-transactions/src/api/OfflineTransaction.ts:120
MethodinArrayLookup
(values: Array<any>)
packages/db/src/indexes/reverse-index.ts:124
MethodindexedKeysSet
()
packages/db/src/indexes/basic-index.ts:485
MethodindexedKeysSet
()
packages/db/src/indexes/reverse-index.ts:128
MethodindexedKeysSet
()
packages/db/src/indexes/btree-index.ts:410
MethodindexedKeysSet
()
packages/db/src/indexes/base-index.ts:66
Methodindexes
* Get resolved indexes for query optimization
packages/db/src/collection/index.ts:629
Methodinitialize
(_options?: BTreeIndexOptions)
packages/db/src/indexes/btree-index.ts:79
Methodinner
(collection: MultiSet<T>)
packages/db-ivm/src/operators/filter.ts:23
Methodinner
(collection: MultiSet<T>)
packages/db-ivm/src/operators/tap.ts:23
Methodinner
(collection: MultiSet<T>)
packages/db-ivm/src/operators/negate.ts:10
FunctioninputAMessages
()
packages/db-ivm/src/graph.ts:111
FunctioninputBMessages
()
packages/db-ivm/src/graph.ts:115
FunctioninputMessages
()
packages/db-ivm/src/graph.ts:92
Functioninsert
(value: T)
packages/db/tests/query/includes.test.ts:6325
Methodinsert
* Insert a *new* value. * Ignores the value if it is already present.
packages/db-ivm/src/operators/topKWithFractionalIndexBTree.ts:80
FunctionisBasicExpression
( expr: IR.BasicExpression | null | undefined, )
packages/query-db-collection/e2e/query-filter.ts:159
MethodisEmpty
Returns true iff the tree contains no key-value pairs.
packages/db/src/utils/btree.ts:139
MethodisEmpty
()
packages/db-ivm/src/operators/topKState.ts:29
FunctionisExtensible
(ptarget)
packages/db/src/proxy.ts:1019
MethodisFetching
()
packages/query-db-collection/src/query.ts:314
FunctionisIdle
()
packages/svelte-db/src/useLiveQuery.svelte.ts:502
FunctionisLeader
()
packages/offline-transactions/src/coordination/LeaderElection.ts:10
MethodisLeader
()
packages/query-db-collection/e2e/offline-refresh.e2e.test.ts:115
MethodisLeader
()
packages/offline-transactions/tests/harness.ts:71
MethodisLeader
()
packages/offline-transactions/tests/leader-failover.test.ts:454
MethodisLeaf
()
packages/db/src/utils/btree.ts:424
MethodisLoadingSubset
* Check if the collection is currently loading more data * @returns true if the collection has pending load more operations, false otherwise
packages/db/src/collection/index.ts:457
MethodisLoadingSubset
* Gets whether the collection is currently loading more data
packages/db/src/collection/sync.ts:437
MethodisOfflineEnabled
()
packages/offline-transactions/src/OfflineExecutor.ts:344
MethodisOnline
()
packages/query-db-collection/e2e/offline-refresh.e2e.test.ts:58
MethodisOnline
()
packages/offline-transactions/src/OfflineExecutor.ts:594
MethodisOnline
()
packages/offline-transactions/src/connectivity/OnlineDetector.ts:82
MethodisOnline
()
packages/offline-transactions/src/connectivity/ReactNativeOnlineDetector.ts:110
MethodisOnline
()
packages/offline-transactions/tests/offline-e2e.test.ts:48
MethodisOnline
()
examples/react-native/shopping-list/src/network/SimulatedOnlineDetector.ts:20
MethodisRefetching
()
packages/query-db-collection/src/query.ts:321
MethodisSupported
()
packages/offline-transactions/src/coordination/BroadcastChannelLeader.ts:169
FunctionjoinedSelect
({ u, p }: { u: Ref<User>; p: Ref<Post> })
packages/db/tests/query/composables.test.ts:404
FunctionjoinedUserPostPredicate
({ u, p, }: { u: Ref<User> p: Ref<Post> })
packages/db/tests/query/composables.test.ts:391
MethodkeyCount
* Gets the number of indexed keys
packages/db/src/indexes/basic-index.ts:239
MethodkeyCount
()
packages/db/src/indexes/reverse-index.ts:116
MethodkeyCount
* Gets the number of indexed keys
packages/db/src/indexes/btree-index.ts:214
MethodkeyCount
()
packages/db/src/indexes/base-index.ts:62
FunctionkeySort
* Strings sorted lexicographically.
packages/db-ivm/src/hashing/hash.ts:212
Methodkeys
()
packages/offline-transactions/tests/harness.ts:28
MethodlastError
()
packages/query-db-collection/src/query.ts:301
FunctionleftJoin
( other: IStreamBuilder<KeyValue<K, V2>>, )
packages/db-ivm/src/operators/join.ts:326
Methodlength
Gets the number of key-value pairs in the tree.
packages/db/src/utils/btree.ts:135
Methodlength
()
packages/db/tests/local-storage.test.ts:13
MethodloadMoreIfNeeded
(subscription: CollectionSubscription)
packages/db/src/query/live/collection-subscriber.ts:322
FunctionloadSubset
(opts: LoadSubsetOptions)
packages/electric-db-collection/src/electric.ts:443
MethodloadSubsetDataCallbacks
()
packages/db/src/query/live/collection-config-builder.ts:1111
Methodlookup
(operation: IndexOperation, value: any)
packages/db/src/indexes/reverse-index.ts:17
Methodlookup
* Performs a lookup operation
packages/db/src/indexes/btree-index.ts:179
MethodmakeOrderByClause
(res: any)
packages/db/src/query/builder/index.ts:657
Methodmap
* Create a new array with the results of calling a function for each entry in the collection
packages/db/src/collection/state.ts:455
FunctionmapIterable
( it: Iterable<T>, fn: (t: T) => U, )
packages/db-ivm/src/utils.ts:139
FunctionmatchesCompareOptions
* Checks if the compare options match the index's compare options. * The direction is ignored because the index can be reversed if the direction is
packages/db/src/indexes/base-index.ts:177
FunctionmatchesDirection
* Checks if the index matches the provided direction.
packages/db/src/indexes/base-index.ts:196
FunctionmatchesField
(fieldPath: Array<string>)
packages/db/src/indexes/base-index.ts:165
MethodmaxKey
()
packages/db/src/utils/btree.ts:437
MethodmaxNodeSize
Returns the maximum number of children/values before nodes will split.
packages/db/src/utils/btree.ts:207
MethodmergeSibling
* Move children from `rhs` into this. * `rhs` must be part of this tree, and be removed from it after this call * (otherwise isShared for its ch
packages/db/src/utils/btree.ts:980
MethodminKey
()
packages/db/src/utils/btree.ts:470
MethodminKey
()
packages/db/src/utils/btree.ts:711
MethodminPair
(reusedArray: [K, V])
packages/db/src/utils/btree.ts:715
FunctionmockLoadSubset
()
packages/db/tests/query/subset-dedupe.test.ts:50
FunctionmockMutationFn
()
packages/db/tests/transaction-types.test.ts:38
Methodmove
* Move the topK window. Only works with TopKArray implementation.
packages/db-ivm/src/operators/topKState.ts:58
MethodmoveTopK
* Moves the topK window based on the provided offset and limit. * Any changes to the topK are sent to the output.
packages/db-ivm/src/operators/topKWithFractionalIndex.ts:62
FunctionmutationFn
()
packages/db/tests/collection-schema.test.ts:295
FunctionmutationFn
({ transaction })
packages/db/tests/collection-subscribe-changes.test.ts:289
Functionname
()
packages/db/tests/proxy.test.ts:286
FunctionneverInvoke
()
packages/electron-db-sqlite-persistence/tests/electron-ipc.test.ts:287
MethodnextHigherKey
Returns the next key larger than the specified key, or undefined if there is none. * Also, nextHigherKey(undefined) returns the lowest key.
packages/db/src/utils/btree.ts:260
MethodnextLowerKey
Returns the next key smaller than the specified key, or undefined if there is none. * Also, nextLowerKey(undefined) returns the highest key.
packages/db/src/utils/btree.ts:282
MethodnextPair
(k?: any)
packages/db/src/indexes/btree-index.ts:342
FunctionnormalizeChange
(change: any)
packages/db/tests/collection-indexes.test.ts:22
FunctionnotifyLeadershipChange
(isLeader: boolean)
packages/offline-transactions/src/coordination/LeaderElection.ts:22
MethodnotifyOnline
()
packages/offline-transactions/src/connectivity/OnlineDetector.ts:78
MethodnotifyOnline
()
packages/offline-transactions/src/connectivity/ReactNativeOnlineDetector.ts:106
FunctionnotifyReady
()
packages/angular-db/tests/inject-live-query.test.ts:91
← previousnext →2,801–2,900 of 3,143, ranked by callers