feat(nodejs): add bitmap and label list index types in nodejs (#1532)

This commit is contained in:
Lei Xu
2024-08-11 12:06:02 -07:00
committed by GitHub
parent b2317c904d
commit 694ca30c7c
4 changed files with 58 additions and 1 deletions

View File

@@ -151,7 +151,7 @@ export class QueryBase<NativeQueryType extends NativeQuery | NativeVectorQuery>
query: string,
options?: Partial<FullTextSearchOptions>,
): this {
let columns = null;
let columns: string[] | null = null;
if (options) {
if (typeof options.columns === "string") {
columns = [options.columns];