mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-07 04:12:59 +00:00
Update docs/src/javascript/saas-modules.md
Co-authored-by: Aidan <64613310+aidangomar@users.noreply.github.com>
This commit is contained in:
@@ -45,7 +45,7 @@ const db = await lancedb.connect({
|
||||
region: "us-east-1"
|
||||
});
|
||||
// create a new table
|
||||
tableName = "my_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 }])
|
||||
|
||||
Reference in New Issue
Block a user