From 492d0328feabb2d5036550fdd7eca44d4666c457 Mon Sep 17 00:00:00 2001
From: Cory Grinstead
Date: Tue, 23 Jul 2024 13:46:32 -0700
Subject: [PATCH] chore: update readme to point to lancedb package (#1470)
---
README.md | 28 +++++++++++++---------------
nodejs/lancedb/table.ts | 3 +++
2 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/README.md b/README.md
index 4b91bcd4..ad2a63f5 100644
--- a/README.md
+++ b/README.md
@@ -7,8 +7,8 @@
-[](https://blog.lancedb.com/)
-[](https://discord.gg/zMM32dvNtd)
+[](https://blog.lancedb.com/)
+[](https://discord.gg/zMM32dvNtd)
[](https://twitter.com/lancedb)
@@ -44,26 +44,24 @@ LanceDB's core is written in Rust 🦀 and is built using = 10").execute();
+const rowsByCriteria = await table.query().where("price >= 10").toArray();
```
**Python**
diff --git a/nodejs/lancedb/table.ts b/nodejs/lancedb/table.ts
index 557c62c0..acf9bd98 100644
--- a/nodejs/lancedb/table.ts
+++ b/nodejs/lancedb/table.ts
@@ -275,12 +275,15 @@ export abstract class Table {
* of the given query vector
* @param {string} query - the query. This will be converted to a vector using the table's provided embedding function
* @note If no embedding functions are defined in the table, this will error when collecting the results.
+ *
+ * This is just a convenience method for calling `.query().nearestTo(await myEmbeddingFunction(query))`
*/
abstract search(query: string): VectorQuery;
/**
* Create a search query to find the nearest neighbors
* of the given query vector
* @param {IntoVector} query - the query vector
+ * This is just a convenience method for calling `.query().nearestTo(query)`
*/
abstract search(query: IntoVector): VectorQuery;
/**