MCPcopy
hub / github.com/aspen-cloud/triplit / set

Method set

packages/db/src/types.ts:115–115  ·  view source on GitHub ↗
(key: Tuple, value: any, scope?: Tuple)

Source from the content-addressed store, hash-verified

113 // scope<KV extends KVStoreAPI>(prefix: string): KV;
114 get(key: Tuple, scope?: Tuple): Promise<any>;
115 set(key: Tuple, value: any, scope?: Tuple): Promise<void>;
116 delete(key: Tuple, scope?: Tuple): Promise<void>;
117 scan(options: ScanOptions, scope?: Tuple): AsyncIterable<[Tuple, any]>;
118 scanValues(options: ScanOptions, scope?: Tuple): AsyncIterable<any>;

Callers 15

onEntitySyncSuccessMethod · 0.65
onEntitySyncErrorMethod · 0.65
subscribeMethod · 0.65
connectMethod · 0.65
connectMethod · 0.65
OrderPopoverFunction · 0.65
useClientFunction · 0.65
addToRemoveQueueFunction · 0.65
setTelemetryEnabledFunction · 0.65
getInstallIdFunction · 0.65

Implementers 13

InMemoryTestKVStorepackages/db/test/utils/test-kv-store.t
InMemoryTestKvStoreTransactionpackages/db/test/utils/test-kv-store.t
ScopedKVStorepackages/db/src/kv-store/utils/scoped-
ScopedKVStoreTransactionpackages/db/src/kv-store/utils/scoped-
ExpoSQLiteKVStorepackages/db/src/kv-store/storage/expo-
LmdbKVStorepackages/db/src/kv-store/storage/lmdb.
BTreeKVStorepackages/db/src/kv-store/storage/memor
SQLiteKVStorepackages/db/src/kv-store/storage/sqlit
BunSQLiteKVStorepackages/db/src/kv-store/storage/bun-s
CloudflareDurableObjectKVStorepackages/db/src/kv-store/storage/cf-du
IndexedDbKVStorepackages/db/src/kv-store/storage/index
SqliteWorkerKvStorepackages/db/src/kv-store/storage/sqlit

Calls

no outgoing calls

Tested by 10

insertMethod · 0.52
updateMethod · 0.52
deleteMethod · 0.52
flushChangesMethod · 0.52
queryResultsToChangesFunction · 0.52
subscribeMethod · 0.52
updateViewsMethod · 0.52
applyAndCheckChangesFunction · 0.52
testQueriesFunction · 0.52
compareObjsFunction · 0.52