@onyx.dev/onyx-database 0.1.7 → 0.1.9
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/README.md +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1005,7 +1005,7 @@ var OnyxDatabaseImpl = class {
|
|
|
1005
1005
|
null,
|
|
1006
1006
|
this.defaultPartition
|
|
1007
1007
|
);
|
|
1008
|
-
qb.
|
|
1008
|
+
qb.select(...fields);
|
|
1009
1009
|
return qb;
|
|
1010
1010
|
}
|
|
1011
1011
|
cascade(...relationships) {
|
|
@@ -1212,7 +1212,7 @@ var QueryBuilderImpl = class {
|
|
|
1212
1212
|
this.table = table;
|
|
1213
1213
|
return this;
|
|
1214
1214
|
}
|
|
1215
|
-
|
|
1215
|
+
select(...fields) {
|
|
1216
1216
|
const flat = fields.flatMap((f) => Array.isArray(f) ? f : [f]);
|
|
1217
1217
|
this.fields = flat.length > 0 ? flat : null;
|
|
1218
1218
|
return this;
|