Skip to content

Commit 1b16a4f

Browse files
yathitvvakame
authored andcommitted
fulltext search doc update.
1 parent 3faa118 commit 1b16a4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydn-db/ydn-db.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ interface StoreSchemaJson {
3535
interface DatabaseSchemaJson {
3636
version?: number;
3737
stores: StoreSchemaJson[];
38-
fullTextCatalogs?: FullTextCatalog;
38+
fullTextCatalogs?: FullTextCatalog[];
3939
}
4040

4141
interface StorageOptions {
@@ -237,7 +237,7 @@ declare namespace ydn.db {
237237

238238
run(callback: (iStorage: ydn.db.Storage) => void, store_names: string[], mode: TransactionMode): Request;
239239

240-
search(catalog_name: string): Request;
240+
search(catalog_name: string, query: string, limit?: number, threshold?: number): Request;
241241

242242
setName(name: string): any;
243243

0 commit comments

Comments
 (0)