dobo 1.2.9 → 1.2.10

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.
@@ -30,7 +30,7 @@ async function multiRelRows ({ schema, records, options = {} }) {
30
30
  for (const i in records) {
31
31
  records[i]._rel = records[i]._rel ?? {}
32
32
  const rec = records[i]
33
- const res = results.find(r => (r[val.propName] + '') === rec[prop.name])
33
+ const res = results.find(r => (r[val.propName] + '') === rec[prop.name] + '')
34
34
  if (res) records[i]._rel[key] = await this.pickRecord({ record: res, fields, schema: relschema })
35
35
  else records[i]._rel[key] = {}
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dobo",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "description": "Database ORM/ODM for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {