remult 0.23.0-exp.17 → 0.23.0-exp.18

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.
@@ -442,7 +442,7 @@ export class RepositoryImplementation {
442
442
  row[col.key] =
443
443
  rel.type !== 'toMany'
444
444
  ? result.length == 0
445
- ? undefined
445
+ ? null
446
446
  : result[0]
447
447
  : result;
448
448
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remult",
3
- "version": "0.23.0-exp.17",
3
+ "version": "0.23.0-exp.18",
4
4
  "description": "A CRUD framework for full-stack TypeScript",
5
5
  "types": "index.d.ts",
6
6
  "module": "esm/index.js",
@@ -734,7 +734,7 @@ var RepositoryImplementation = /** @class */ (function () {
734
734
  row[col.key] =
735
735
  rel.type !== 'toMany'
736
736
  ? result.length == 0
737
- ? undefined
737
+ ? null
738
738
  : result[0]
739
739
  : result;
740
740
  });