dobo 2.36.0 → 2.36.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.
@@ -11,7 +11,7 @@ const action = 'modelExists'
11
11
  * @see {@link module:Hook.beforeModelExists}
12
12
  * @see {@link module:Hook.afterModelExists}
13
13
  */
14
- async function isExists (opts = {}) {
14
+ async function exists (opts = {}) {
15
15
  opts.dataOnly = opts.dataOnly ?? true
16
16
  const { dataOnly } = opts
17
17
  const { options } = await getFilterAndOptions.call(this, null, opts, action)
@@ -23,4 +23,4 @@ async function isExists (opts = {}) {
23
23
  return dataOnly ? result.data : result
24
24
  }
25
25
 
26
- export default isExists
26
+ export default exists
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dobo",
3
- "version": "2.36.0",
3
+ "version": "2.36.1",
4
4
  "description": "DBMS for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  - [2.36.0] Add test suite
6
6
  - [2.36.0] Add parameter `options` to `model.sanitizeRecord()`
7
+ - [2.36.1] Bug fix in `model.exists()`
7
8
 
8
9
  ## 2026-07-29
9
10