waibu-db 2.12.2 → 2.12.4

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/index.js CHANGED
@@ -157,10 +157,9 @@ async function factory (pkgName) {
157
157
  const q = query ?? set({}, field, { $in })
158
158
  const options = {
159
159
  dataOnly: true,
160
- limit: -1,
161
160
  query: q
162
161
  }
163
- return await this.findRecord({ model, req, options })
162
+ return await this.findAllRecord({ model, req, options })
164
163
  }
165
164
 
166
165
  formatRecord = async ({ data, req, schema, options = {} }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-db",
3
- "version": "2.12.2",
3
+ "version": "2.12.4",
4
4
  "description": "DB Helper",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -3,6 +3,7 @@
3
3
  ## 2026-03-30
4
4
 
5
5
  - [2.12.3] Bug fix in transaction supports
6
+ - [2.12.4] Bug fix in ```options.limit```, removed due to use ```findAllRecords()```
6
7
 
7
8
  ## 2026-03-27
8
9