@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.
Files changed (2) hide show
  1. package/dist/relation.js +1 -1
  2. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wxn0brp/db",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "description": "A simple file-based database management system with support for CRUD operations, custom queries, and graph structures.",