MCPcopy Create free account
hub / github.com/Parana-Games/tinymo / put

Method put

src/batch-write.ts:22–25  ·  view source on GitHub ↗
(tableName: string, item: any)

Source from the content-addressed store, hash-verified

20 async run(): Promise<BatchWriteCommandOutput> { return await this.client.send(new BatchWriteCommand(this.build())); }
21
22 put(tableName: string, item: any) {
23 const put = new Put(tableName, item).client(this.client);
24 this.push(put);
25 }
26
27 delete(tableName: string, key: any) {
28 const d = new Delete(tableName, key).client(this.client);

Callers

nothing calls this directly

Calls 1

pushMethod · 0.95

Tested by

no test coverage detected