dobo 2.10.0 → 2.10.1

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.
@@ -111,7 +111,7 @@ async function modelFactory () {
111
111
  const { getModel } = this.app.dobo
112
112
  const ref = getModel(model)
113
113
  const rec = await ref.findOneRecord({ query }, { noHook: true, noCache: true, ...options })
114
- return get(rec, field)
114
+ return get(rec, field, null)
115
115
  }
116
116
 
117
117
  build = build
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dobo",
3
- "version": "2.10.0",
3
+ "version": "2.10.1",
4
4
  "description": "DBMS for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-03-12
4
+
5
+ - [2.10.1] Bug fix in ```model._simpleLookup()``` should return ```null``` if query results empty value
6
+
3
7
  ## 2026-03-11
4
8
 
5
9
  - [2.10.0] Add ```immutable``` and ```feature``` to the list of allowed property keys