mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-09-27 13:58:59 +02:00
fix imports
This commit is contained in:
3
dist/module/db/postgres/index.js
vendored
3
dist/module/db/postgres/index.js
vendored
@@ -63,7 +63,8 @@ export default function PostgresDB(name, config = {}) {
|
||||
this.id = (config.schema ? sanitize(config.schema) : defaults.schema) + (name ? "_" + sanitize(name) : "");
|
||||
this.field = config.field ? "_" + sanitize(config.field) : "";
|
||||
this.type = config.type ? types[config.type.toLowerCase()] : "text";
|
||||
this.support_tag_search = /* tag? */!0 /*await rows.hasNext()*/ /*await rows.hasNext()*/ /*await rows.hasNext()*/;
|
||||
this.support_tag_search =
|
||||
/* tag? */!0 /*await rows.hasNext()*/ /*await rows.hasNext()*/ /*await rows.hasNext()*/;
|
||||
if (!this.type) throw new Error("Unknown type of ID '" + config.type + "'");
|
||||
this.db = DB || (DB = config.db || null);
|
||||
Object.assign(defaults, config);
|
||||
|
Reference in New Issue
Block a user