From 0009206829c1fd1ebe1800e193bfb68df829a0b6 Mon Sep 17 00:00:00 2001 From: QianZhu Date: Fri, 22 Dec 2023 09:53:01 -0800 Subject: [PATCH] Update docs/src/javascript/saas-modules.md Co-authored-by: Aidan <64613310+aidangomar@users.noreply.github.com> --- docs/src/javascript/saas-modules.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/src/javascript/saas-modules.md b/docs/src/javascript/saas-modules.md index 718f986fc..baaf24c71 100644 --- a/docs/src/javascript/saas-modules.md +++ b/docs/src/javascript/saas-modules.md @@ -47,6 +47,11 @@ const db = await lancedb.connect({ // create a new table const tableName = "my_table" const table = await db.createTable(tableName, + [ + { id: 1, vector: [0.1, 1.0], item: "foo", price: 10.0 }, + { id: 2, vector: [3.9, 0.5], item: "bar", price: 20.0 } + ] +) [{ id: 1, vector: [0.1, 1.0], item: "foo", price: 10.0 }, { id: 2, vector: [3.9, 0.5], item: "bar", price: 20.0 }]) // list the table