chore: convert all js doc test to use snippet. (#881)

This commit is contained in:
Lei Xu
2024-01-28 11:39:25 -08:00
committed by Weston Pace
parent d811b89de2
commit e7fdb931de
12 changed files with 246 additions and 232 deletions

View File

@@ -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) {