dobo 2.26.0 → 2.26.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.
@@ -150,7 +150,7 @@ async function driverFactory () {
150
150
  if (isSet(body[field])) query[field] = body[field]
151
151
  }
152
152
  if (isEmpty(query)) continue
153
- const data = await this.findOneRecord(model, { query }, options)
153
+ const { data } = await model.findOneRecord({ query }, options)
154
154
  if (!isEmpty(data)) {
155
155
  if (['updateRecord', 'upsertRecord'].includes(options.action)) {
156
156
  let eq = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dobo",
3
- "version": "2.26.0",
3
+ "version": "2.26.2",
4
4
  "description": "DBMS for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -5,6 +5,8 @@
5
5
  - [2.26.0] Add loading multiple model schema as in one ```model.js``` file
6
6
  - [2.26.0] Remove caching feature of model schema
7
7
  - [2.26.0] Change driver hook name with this syntax: ```dobo.driver:<action>```
8
+ - [2.26.1] Bug fix in ```memory.js```
9
+ - [2.26.2] Bug fix in ```driver.js```
8
10
 
9
11
  ## 2026-05-22
10
12