Added TypeScript example (#82)

This commit is contained in:
gsilvestrin
2023-05-16 13:40:52 -07:00
committed by GitHub
parent 0b35e6dfa9
commit 961d892c89
7 changed files with 85 additions and 17 deletions

View File

@@ -174,7 +174,7 @@ export class Query {
* Execute the query and return the results as an Array of Objects
*/
async execute<T = Record<string, unknown>> (): Promise<T[]> {
let buffer;
let buffer
if (this._filter != null) {
buffer = await tableSearch.call(this._tbl, this._query_vector, this._limit, this._filter)
} else {