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

Method delete

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

Source from the content-addressed store, hash-verified

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>;
119 clear(scope?: Tuple): Promise<void>;

Callers 15

constructorMethod · 0.65
tempTriplitServerFunction · 0.65
outbox.spec.tsFile · 0.65
runOperationsAsyncFunction · 0.65
genRandomOperationsFunction · 0.65
client.spec.tsFile · 0.65
onSyncMessageReceivedMethod · 0.65
onSyncMessageSentMethod · 0.65
onEntitySyncSuccessMethod · 0.65
onEntitySyncErrorMethod · 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 6

runOperationsAsyncFunction · 0.52
genRandomOperationsFunction · 0.52
flushChangesMethod · 0.52
subscribeMethod · 0.52
applyAndCheckChangesFunction · 0.52
applyOpToDBFunction · 0.52