MCPcopy Create free account
hub / github.com/TanStack/db / createAdapterCacheKey

Function createAdapterCacheKey

packages/expo-db-sqlite-persistence/src/expo.ts:58–65  ·  view source on GitHub ↗
(
  schemaMismatchPolicy: ExpoSQLiteCoreSchemaMismatchPolicy,
  schemaVersion: number | undefined,
)

Source from the content-addressed store, hash-verified

56}
57
58function createAdapterCacheKey(
59 schemaMismatchPolicy: ExpoSQLiteCoreSchemaMismatchPolicy,
60 schemaVersion: number | undefined,
61): string {
62 const schemaVersionKey =
63 schemaVersion === undefined ? `schema:default` : `schema:${schemaVersion}`
64 return `${schemaMismatchPolicy}|${schemaVersionKey}`
65}
66
67function createInternalSQLiteDriver(
68 options: ExpoSQLitePersistenceOptions,

Callers 1

getAdapterForCollectionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected