Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ functions
Functions
3,143 in github.com/TanStack/db
⨍
Functions
3,143
◇
Types & classes
808
Function
handleOffline
()
examples/react/offline-transactions/src/components/TodoDemo.tsx:42
Function
handleOffline
()
examples/electron/offline-first/src/components/TodoList.tsx:25
Function
handleOnline
()
examples/react/offline-transactions/src/components/TodoDemo.tsx:36
Function
handleOnline
()
examples/electron/offline-first/src/components/TodoList.tsx:21
Function
handleRejection
(reason: any)
packages/db/tests/utils.ts:439
Function
handleStorageEvent
(event: StorageEvent)
packages/db/src/local-storage.ts:811
Function
handleSubmit
(e: FormEvent)
examples/react/projects/src/routes/login.tsx:17
Function
handleSubmit
(e: FormEvent)
examples/react/todo/src/components/TodoApp.tsx:101
Function
handleSubmit
(e)
examples/solid/todo/src/components/TodoApp.tsx:104
Function
has
(target, prop)
packages/db/src/query/builder/ref-proxy.ts:71
Function
hasLoadedIds
( collection: Collection<T>, ids: Array<string>, )
packages/db-collection-e2e/src/utils/helpers.ts:59
Function
hasOnlyLoadedIds
( collection: Collection<T>, ids: Array<string>, )
packages/db-collection-e2e/src/utils/helpers.ts:70
Method
hasOrderByIndex
* Check if an orderBy index has been set for this subscription
packages/db/src/collection/subscription.ts:262
Function
hasPendingWork
()
packages/db-ivm/src/graph.ts:72
Method
hasPresence
* 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
Method
hasSentAtLeastOneSnapshot
()
packages/db/src/collection/subscription.ts:317
Function
headers
()
examples/react/projects/src/lib/trpc-client.ts:8
Method
id
()
packages/offline-transactions/src/api/OfflineTransaction.ts:120
Method
inArrayLookup
(values: Array<any>)
packages/db/src/indexes/reverse-index.ts:124
Method
indexedKeysSet
()
packages/db/src/indexes/basic-index.ts:485
Method
indexedKeysSet
()
packages/db/src/indexes/reverse-index.ts:128
Method
indexedKeysSet
()
packages/db/src/indexes/btree-index.ts:410
Method
indexedKeysSet
()
packages/db/src/indexes/base-index.ts:66
Method
indexes
* Get resolved indexes for query optimization
packages/db/src/collection/index.ts:629
Method
initialize
(_options?: BTreeIndexOptions)
packages/db/src/indexes/btree-index.ts:79
Method
inner
(collection: MultiSet<T>)
packages/db-ivm/src/operators/filter.ts:23
Method
inner
(collection: MultiSet<T>)
packages/db-ivm/src/operators/tap.ts:23
Method
inner
(collection: MultiSet<T>)
packages/db-ivm/src/operators/negate.ts:10
Function
inputAMessages
()
packages/db-ivm/src/graph.ts:111
Function
inputBMessages
()
packages/db-ivm/src/graph.ts:115
Function
inputMessages
()
packages/db-ivm/src/graph.ts:92
Function
insert
(value: T)
packages/db/tests/query/includes.test.ts:6325
Method
insert
* Insert a *new* value. * Ignores the value if it is already present.
packages/db-ivm/src/operators/topKWithFractionalIndexBTree.ts:80
Function
isBasicExpression
( expr: IR.BasicExpression | null | undefined, )
packages/query-db-collection/e2e/query-filter.ts:159
Method
isEmpty
Returns true iff the tree contains no key-value pairs.
packages/db/src/utils/btree.ts:139
Method
isEmpty
()
packages/db-ivm/src/operators/topKState.ts:29
Function
isExtensible
(ptarget)
packages/db/src/proxy.ts:1019
Method
isFetching
()
packages/query-db-collection/src/query.ts:314
Function
isIdle
()
packages/svelte-db/src/useLiveQuery.svelte.ts:502
Function
isLeader
()
packages/offline-transactions/src/coordination/LeaderElection.ts:10
Method
isLeader
()
packages/query-db-collection/e2e/offline-refresh.e2e.test.ts:115
Method
isLeader
()
packages/offline-transactions/tests/harness.ts:71
Method
isLeader
()
packages/offline-transactions/tests/leader-failover.test.ts:454
Method
isLeaf
()
packages/db/src/utils/btree.ts:424
Method
isLoadingSubset
* 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
Method
isLoadingSubset
* Gets whether the collection is currently loading more data
packages/db/src/collection/sync.ts:437
Method
isOfflineEnabled
()
packages/offline-transactions/src/OfflineExecutor.ts:344
Method
isOnline
()
packages/query-db-collection/e2e/offline-refresh.e2e.test.ts:58
Method
isOnline
()
packages/offline-transactions/src/OfflineExecutor.ts:594
Method
isOnline
()
packages/offline-transactions/src/connectivity/OnlineDetector.ts:82
Method
isOnline
()
packages/offline-transactions/src/connectivity/ReactNativeOnlineDetector.ts:110
Method
isOnline
()
packages/offline-transactions/tests/offline-e2e.test.ts:48
Method
isOnline
()
examples/react-native/shopping-list/src/network/SimulatedOnlineDetector.ts:20
Method
isRefetching
()
packages/query-db-collection/src/query.ts:321
Method
isSupported
()
packages/offline-transactions/src/coordination/BroadcastChannelLeader.ts:169
Function
joinedSelect
({ u, p }: { u: Ref<User>; p: Ref<Post> })
packages/db/tests/query/composables.test.ts:404
Function
joinedUserPostPredicate
({ u, p, }: { u: Ref<User> p: Ref<Post> })
packages/db/tests/query/composables.test.ts:391
Method
keyCount
* Gets the number of indexed keys
packages/db/src/indexes/basic-index.ts:239
Method
keyCount
()
packages/db/src/indexes/reverse-index.ts:116
Method
keyCount
* Gets the number of indexed keys
packages/db/src/indexes/btree-index.ts:214
Method
keyCount
()
packages/db/src/indexes/base-index.ts:62
Function
keySort
* Strings sorted lexicographically.
packages/db-ivm/src/hashing/hash.ts:212
Method
keys
()
packages/offline-transactions/tests/harness.ts:28
Method
lastError
()
packages/query-db-collection/src/query.ts:301
Function
leftJoin
( other: IStreamBuilder<KeyValue<K, V2>>, )
packages/db-ivm/src/operators/join.ts:326
Method
length
Gets the number of key-value pairs in the tree.
packages/db/src/utils/btree.ts:135
Method
length
()
packages/db/tests/local-storage.test.ts:13
Method
loadMoreIfNeeded
(subscription: CollectionSubscription)
packages/db/src/query/live/collection-subscriber.ts:322
Function
loadSubset
(opts: LoadSubsetOptions)
packages/electric-db-collection/src/electric.ts:443
Method
loadSubsetDataCallbacks
()
packages/db/src/query/live/collection-config-builder.ts:1111
Method
lookup
(operation: IndexOperation, value: any)
packages/db/src/indexes/reverse-index.ts:17
Method
lookup
* Performs a lookup operation
packages/db/src/indexes/btree-index.ts:179
Method
makeOrderByClause
(res: any)
packages/db/src/query/builder/index.ts:657
Method
map
* Create a new array with the results of calling a function for each entry in the collection
packages/db/src/collection/state.ts:455
Function
mapIterable
( it: Iterable<T>, fn: (t: T) => U, )
packages/db-ivm/src/utils.ts:139
Function
matchesCompareOptions
* 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
Function
matchesDirection
* Checks if the index matches the provided direction.
packages/db/src/indexes/base-index.ts:196
Function
matchesField
(fieldPath: Array<string>)
packages/db/src/indexes/base-index.ts:165
Method
maxKey
()
packages/db/src/utils/btree.ts:437
Method
maxNodeSize
Returns the maximum number of children/values before nodes will split.
packages/db/src/utils/btree.ts:207
Method
mergeSibling
* 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
Method
minKey
()
packages/db/src/utils/btree.ts:470
Method
minKey
()
packages/db/src/utils/btree.ts:711
Method
minPair
(reusedArray: [K, V])
packages/db/src/utils/btree.ts:715
Function
mockLoadSubset
()
packages/db/tests/query/subset-dedupe.test.ts:50
Function
mockMutationFn
()
packages/db/tests/transaction-types.test.ts:38
Method
move
* Move the topK window. Only works with TopKArray implementation.
packages/db-ivm/src/operators/topKState.ts:58
Method
moveTopK
* 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
Function
mutationFn
()
packages/db/tests/collection-schema.test.ts:295
Function
mutationFn
({ transaction })
packages/db/tests/collection-subscribe-changes.test.ts:289
Function
name
()
packages/db/tests/proxy.test.ts:286
Function
neverInvoke
()
packages/electron-db-sqlite-persistence/tests/electron-ipc.test.ts:287
Method
nextHigherKey
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
Method
nextLowerKey
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
Method
nextPair
(k?: any)
packages/db/src/indexes/btree-index.ts:342
Function
normalizeChange
(change: any)
packages/db/tests/collection-indexes.test.ts:22
Function
notifyLeadershipChange
(isLeader: boolean)
packages/offline-transactions/src/coordination/LeaderElection.ts:22
Method
notifyOnline
()
packages/offline-transactions/src/connectivity/OnlineDetector.ts:78
Method
notifyOnline
()
packages/offline-transactions/src/connectivity/ReactNativeOnlineDetector.ts:106
Function
notifyReady
()
packages/angular-db/tests/inject-live-query.test.ts:91
← previous
next →
2,801–2,900 of 3,143, ranked by callers