From 756188358c299fd46b9b99045e5685726054945f Mon Sep 17 00:00:00 2001 From: Bert Date: Thu, 21 Dec 2023 13:48:00 -0500 Subject: [PATCH] docs: fix JS api docs for update method (#738) --- node/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/src/index.ts b/node/src/index.ts index e2000334..71ab0a94 100644 --- a/node/src/index.ts +++ b/node/src/index.ts @@ -331,8 +331,8 @@ export interface Table { * const tbl = await con.createTable("my_table", data) * * await tbl.update({ - * filter: "id = 2", - * updates: { vector: [2, 2], name: "Michael" }, + * where: "id = 2", + * values: { vector: [2, 2], name: "Michael" }, * }) * * let results = await tbl.search([1, 1]).execute();