mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-05 03:12:57 +00:00
bug: fix the return value of countRows (#1186)
This commit is contained in:
@@ -458,7 +458,7 @@ export class RemoteTable<T = number[]> implements Table<T> {
|
||||
const result = await this._client.post(`/v1/table/${this._name}/count_rows/`, {
|
||||
predicate: filter
|
||||
})
|
||||
return (await result.body())?.stats?.num_rows
|
||||
return (await result.body())
|
||||
}
|
||||
|
||||
async delete (filter: string): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user