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 +1 -2
- package/package.json +1 -1
- package/wiki/CHANGES.md +1 -0
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.
|
|
162
|
+
return await this.findAllRecord({ model, req, options })
|
|
164
163
|
}
|
|
165
164
|
|
|
166
165
|
formatRecord = async ({ data, req, schema, options = {} }) => {
|
package/package.json
CHANGED