MCPcopy Create free account

hub / github.com/TanStack/db / functions

Functions3,143 in github.com/TanStack/db

↓ 1 callersFunctionwhereReferencesComputedSelectFields
* Determines whether the provided WHERE clause references fields that are * computed by a subquery SELECT rather than pass-through properties. * *
packages/db/src/query/optimizer.ts:1120
↓ 1 callersFunctionwithExpectedRejection
( expectedMessage: string, testFn: () => T | Promise<T>, )
packages/db/tests/utils.ts:428
↓ 1 callersFunctionwithTimeout
( promise: Promise<T>, timeoutMs: number, timeoutMessage: string, )
packages/electron-db-sqlite-persistence/src/renderer.ts:41
↓ 1 callersFunctionwrappedMarkReady
(isBuffering: boolean)
packages/electric-db-collection/src/electric.ts:1355
Method#moveTopK
* Moves the topK window for all groups based on the provided offset and limit. * Any changes to the topK are sent to the output.
packages/db-ivm/src/operators/groupedTopKWithFractionalIndex.ts:99
FunctionApp
()
packages/expo-db-sqlite-persistence/e2e/expo-runtime-app/App.tsx:82
FunctionApp
()
examples/react/paced-mutations-demo/src/App.tsx:82
FunctionApp
()
examples/electron/offline-first/src/App.tsx:8
FunctionAuthenticatedLayout
()
examples/react/projects/src/routes/_authenticated.tsx:17
FunctionDeleteRange
()
packages/db/src/utils/btree.ts:1014
FunctionElectricPage
()
examples/react/todo/src/routes/electric.tsx:25
FunctionElectricPage
()
examples/solid/todo/src/routes/electric.tsx:23
FunctionHeaderControls
({ onAppRefresh }: { onAppRefresh: () => void })
examples/react-native/shopping-list/app/_layout.tsx:21
FunctionHome
()
examples/react/offline-transactions/src/routes/index.tsx:7
FunctionHomePage
()
examples/react/todo/src/routes/index.tsx:8
FunctionHomePage
()
examples/solid/todo/src/routes/index.tsx:7
FunctionHomeScreen
()
examples/react-native/shopping-list/app/index.tsx:4
FunctionHomeScreen
()
examples/react-native/offline-transactions/app/index.tsx:8
FunctionIndexedDBDemo
()
examples/react/offline-transactions/src/routes/indexeddb.tsx:10
FunctionItemRow
({ item, onToggle, onDelete, }: { item: ListItemRow onToggle: () => void onDelete: () => void })
examples/react-native/shopping-list/src/components/ListDetail.tsx:27
FunctionLayout
()
examples/react/projects/src/routes/login.tsx:11
FunctionListCard
({ list, onPress, onDelete, }: { list: { id: string name: string totalItems: any check
examples/react-native/shopping-list/src/components/ListsScreen.tsx:18
FunctionListDetail
({ listId }: ListDetailProps)
examples/react-native/shopping-list/src/components/ListDetail.tsx:80
FunctionListScreen
()
examples/react-native/shopping-list/app/list/[id].tsx:8
FunctionListsScreen
()
examples/react-native/shopping-list/src/components/ListsScreen.tsx:103
FunctionLocalStorageDemo
()
examples/react/offline-transactions/src/routes/localstorage.tsx:10
FunctionNavigation
()
examples/react/todo/src/components/TodoApp.tsx:239
FunctionNotFound
()
examples/react/projects/src/components/NotFound.tsx:3
FunctionNotFound
()
examples/react/todo/src/components/NotFound.tsx:3
FunctionNotFound
()
examples/solid/todo/src/components/NotFound.tsx:3
FunctionPersistedTodoDemo
({ collection }: PersistedTodoDemoProps)
examples/react/offline-transactions/src/components/PersistedTodoDemo.tsx:10
FunctionProjectPage
()
examples/react/projects/src/routes/_authenticated/project/$projectId.tsx:26
FunctionQueryPage
()
examples/react/todo/src/routes/query.tsx:22
FunctionQueryPage
()
examples/solid/todo/src/routes/query.tsx:20
FunctionRootDocument
({ children }: { children: React.ReactNode })
examples/react/projects/src/routes/__root.tsx:42
FunctionRootDocument
({ children }: { children: React.ReactNode })
examples/react/todo/src/routes/__root.tsx:40
FunctionRootDocument
({ children }: { children: React.ReactNode })
examples/react/offline-transactions/src/routes/__root.tsx:30
FunctionRootDocument
(props: ParentProps)
examples/solid/todo/src/routes/__root.tsx:36
FunctionRootLayout
()
examples/react-native/shopping-list/app/_layout.tsx:152
FunctionRootLayout
()
examples/react-native/offline-transactions/app/_layout.tsx:8
FunctionRowComponent
(props: { person: { id: string; name: string } })
packages/solid-db/tests/useLiveQuery.test.tsx:1974
FunctionShoppingProvider
({ children }: { children: React.ReactNode })
examples/react-native/shopping-list/src/db/ShoppingContext.tsx:41
FunctionStrictModeWrapper
({ children }: { children: ReactNode })
packages/react-db/tests/useLiveSuspenseQuery.test.tsx:581
FunctionSuspenseCounter
({ children }: { children: ReactNode })
packages/react-db/tests/useLiveSuspenseQuery.test.tsx:417
FunctionSuspenseTracker
({ children }: { children: ReactNode })
packages/react-db/tests/useLiveSuspenseQuery.test.tsx:621
FunctionSuspenseWrapper
({ children }: { children: ReactNode })
packages/react-db/tests/useLiveSuspenseQuery.test.tsx:51
FunctionTestComponent
()
packages/solid-db/tests/useLiveQuery.test.tsx:1878
FunctionTodoApp
({ todos, configData, todoCollection, configCollection, title, configMutationFn, }: TodoAppProps)
examples/react/todo/src/components/TodoApp.tsx:19
FunctionTodoApp
(props: TodoAppProps)
examples/solid/todo/src/components/TodoApp.tsx:15
FunctionTodoDemo
({ title, description, storageType, offline, }: TodoDemoProps)
examples/react/offline-transactions/src/components/TodoDemo.tsx:12
FunctionTodoList
({ collection, executor }: TodoListProps)
examples/electron/offline-first/src/components/TodoList.tsx:12
FunctionTodoList
({ collection, executor }: TodoListProps)
examples/react-native/offline-transactions/src/components/TodoList.tsx:22
FunctionTrailBasePage
()
examples/react/todo/src/routes/trailbase.tsx:23
FunctionTrailBasePage
()
examples/solid/todo/src/routes/trailbase.tsx:22
FunctionWASQLiteDemo
()
examples/react/offline-transactions/src/routes/wa-sqlite.tsx:11
Function[Symbol.iterator]
()
packages/db/src/proxy.ts:224
Method[Symbol.iterator]
* Default iterator that returns entries in sorted order * * @returns An iterator for the map's entries
packages/db/src/SortedMap.ts:166
Method[Symbol.iterator]
* Get all entries (virtual derived state)
packages/db/src/collection/index.ts:532
Method[Symbol.iterator]
* Get all entries (virtual derived state)
packages/db/src/collection/state.ts:434
Function_selectCallback
({ filteredIssues }: any)
packages/db/tests/query/builder/subqueries.test-d.ts:69
FunctionacceptMutations
(transaction: { mutations: Array<PendingMutation<Record<string, unknown>>> })
packages/db-sqlite-persistence-core/src/persisted.ts:2719
FunctionacceptMutations
(transaction: { mutations: Array<PendingMutation<Record<string, unknown>>> })
packages/db/src/local-storage.ts:550
FunctionacceptMutations
(transaction: { mutations: Array<PendingMutation<Record<string, unknown>>> })
packages/db/src/local-only.ts:249
FunctionaccumulateChanges
( acc: Map<unknown, Changes<T>>, [[key, tupleData], multiplicity]: [ [unknown, [any, string | undefine
packages/db/src/query/live/collection-config-builder.ts:2299
FunctionaccumulateEffectChanges
* Accumulate D2 output multiplicities into per-key effect changes. * Tracks both insert values (new) and delete values (old) separately * so that up
packages/db/src/query/effect.ts:1027
Methodadd
(key: TKey, item: any)
packages/db/src/indexes/reverse-index.ts:96
MethodaddValue
* Add a value to the PrefixMap. Returns true if the map becomes empty after the operation.
packages/db-ivm/src/indexes.ts:62
MethodaddValue
* Add a value to the ValueMap. Returns true if the map becomes empty after the operation. * @param value - The full value to store * @param mult
packages/db-ivm/src/indexes.ts:114
Methodalias
()
packages/db/src/query/ir.ts:111
Methodalias
()
packages/db/src/query/ir.ts:128
FunctionantiJoin
( other: IStreamBuilder<KeyValue<K, V2>>, )
packages/db-ivm/src/operators/join.ts:308
Functionappend
(chunk: string | Buffer)
packages/tauri-db-sqlite-persistence/e2e/run-tauri-e2e.ts:31
MethodapplyChanges
( config: SyncMethods<TResult>, changes: { deletes: number inserts: number value: TR
packages/db/src/query/live/collection-config-builder.ts:918
MethodapplyToCollection
()
packages/db-sqlite-persistence-core/src/persisted.ts:1325
Functionassert
( condition: unknown, message?: string, )
packages/db-ivm/src/utils.ts:5
FunctionassertDeduplicationOccurred
( actualLoads: number, deduplicatedLoads: number, expectedActualLoads: number, message?: string, )
packages/db-collection-e2e/src/utils/assertions.ts:162
FunctionassertLoadedAtLeast
( collection: Collection<T>, expectedIds: Array<string>, message?: string, )
packages/db-collection-e2e/src/utils/assertions.ts:39
FunctionassertLoadedExactly
( collection: Collection<T>, expectedIds: Array<string>, message?: string, )
packages/db-collection-e2e/src/utils/assertions.ts:8
FunctionassertNoDeduplication
( actualLoads: number, deduplicatedLoads: number, message?: string, )
packages/db-collection-e2e/src/utils/assertions.ts:175
FunctionassertNoPushdownViolation
( collection: Collection<T>, expectedMaxIds: Array<string>, message?: string, )
packages/db-collection-e2e/src/utils/assertions.ts:140
FunctionassertNotLoaded
( collection: Collection<T>, forbiddenIds: Array<string>, message?: string, )
packages/db-collection-e2e/src/utils/assertions.ts:59
FunctionasyncFn
(input: number)
packages/db/tests/utility-exposure.test.ts:15
FunctionawaitMatch
( matchFn: MatchFunction<any>, timeout: number = 3000, )
packages/electric-db-collection/src/electric.ts:761
FunctionbeforeEach
(callback: AsyncCallback)
packages/capacitor-db-sqlite-persistence/e2e/app/src/runtime-vitest.ts:367
Methodbuild
(entries: Iterable<[TKey, any]>)
packages/db/src/indexes/reverse-index.ts:108
Methodbuild
* Builds the index from a collection of entries
packages/db/src/indexes/btree-index.ts:158
MethodcallbackWithSentKeysTracking
( changes: Array<ChangeMessage<any, any>>, )
packages/db/src/collection/subscription.ts:123
FunctioncamelToSnake
(str: string)
packages/electric-db-collection/tests/sql-compiler.test.ts:362
FunctioncancelIdleCallbackPolyfill
(id: number)
packages/db/src/utils/browser-polyfills.ts:23
FunctioncheckMatch
(message: Message<any>)
packages/electric-db-collection/src/electric.ts:789
Functioncleanup
()
packages/query-db-collection/src/query.ts:1648
Methodcleanup
* Clean up the collection by stopping sync and clearing data * This can be called manually or automatically by garbage collection
packages/db/src/collection/changes.ts:224
Methodcleanup
* Clean up indexes
packages/db/src/collection/indexes.ts:375
Methodcleanup
()
packages/db/src/collection/events.ts:194
Methodcleanup
()
packages/db/src/collection/sync.ts:511
Methodcleanup
* Clean up the collection by stopping sync and clearing data * This can be called manually or automatically by garbage collection
packages/db/src/collection/state.ts:1423
Functionclear
()
examples/react/offline-transactions/src/utils/todos.ts:71
Methodclear
Clear all scheduled jobs for a context.
packages/db/src/scheduler.ts:188
Methodclear
* Removes all key-value pairs from the map
packages/db/src/SortedMap.ts:149
Methodclear
()
packages/db/src/indexes/reverse-index.ts:112
← previousnext →2,301–2,400 of 3,143, ranked by callers