mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-04 19:02:58 +00:00
chore: convert all js doc test to use snippet. (#881)
This commit is contained in:
@@ -443,6 +443,8 @@ export interface Table<T = number[]> {
|
||||
*/
|
||||
indexStats: (indexUuid: string) => Promise<IndexStats>
|
||||
|
||||
filter (value: string): Query<T>
|
||||
|
||||
schema: Promise<Schema>
|
||||
}
|
||||
|
||||
|
||||
@@ -270,6 +270,10 @@ export class RemoteTable<T = number[]> implements Table<T> {
|
||||
return new RemoteQuery(query, this._client, this._name) //, this._embeddings_new)
|
||||
}
|
||||
|
||||
filter (where: string): Query<T> {
|
||||
throw new Error('Not implemented')
|
||||
}
|
||||
|
||||
async add (data: Array<Record<string, unknown>> | ArrowTable): Promise<number> {
|
||||
let tbl: ArrowTable
|
||||
if (data instanceof ArrowTable) {
|
||||
|
||||
Reference in New Issue
Block a user