add indices
This commit is contained in:
parent
edb2588095
commit
e893a3c32a
|
@ -154,6 +154,7 @@ function wrap(db, dir, dbsMap) {
|
||||||
var idnameCased = (camelCase(dir.idname || 'id'));
|
var idnameCased = (camelCase(dir.idname || 'id'));
|
||||||
|
|
||||||
dir.indices.forEach(normalizeColumn);
|
dir.indices.forEach(normalizeColumn);
|
||||||
|
DB._indices = dir.indices;
|
||||||
|
|
||||||
db = PromiseA.promisifyAll(db);
|
db = PromiseA.promisifyAll(db);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue