feat(python,js): deletion operation on remote tables (#568)

This commit is contained in:
Lei Xu
2023-10-14 15:47:19 -07:00
committed by Weston Pace
parent 377a564904
commit 8dc10180b0
2 changed files with 6 additions and 2 deletions

View File

@@ -157,6 +157,6 @@ export class RemoteTable<T = number[]> implements Table<T> {
}
async delete (filter: string): Promise<void> {
throw new Error('Not implemented')
await this._client.post(`/v1/table/${this._name}/delete/`, { predicate: filter })
}
}