mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-07 12:22:59 +00:00
added projection api for nodejs (#140)
This commit is contained in:
@@ -129,4 +129,9 @@ You can select the columns returned by the query using a select clause.
|
||||
```
|
||||
|
||||
=== "Javascript"
|
||||
Projections are not currently supported in the Javascript SDK.
|
||||
```javascript
|
||||
const results = await table
|
||||
.search(Array(1536).fill(1.2))
|
||||
.select(["id"])
|
||||
.execute()
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user