@wxn0brp/db 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/relation.js +1 -1
- package/package.json +1 -1
package/dist/relation.js
CHANGED
|
@@ -109,7 +109,7 @@ class Relation {
|
|
|
109
109
|
async find(path, search, relations, select, findOpts = {}) {
|
|
110
110
|
const [dbKey, coll] = path;
|
|
111
111
|
const db = this.dbs[dbKey];
|
|
112
|
-
const data = await db.find(coll, search, findOpts);
|
|
112
|
+
const data = await db.find(coll, search, {}, findOpts);
|
|
113
113
|
if (relations)
|
|
114
114
|
await processRelations(this.dbs, relations, null, data);
|
|
115
115
|
if (typeof select === "object" && !Array.isArray(select)) {
|
package/package.json
CHANGED