@zenstackhq/runtime 3.0.0-alpha.16 → 3.0.0-alpha.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.
@@ -1,5 +1,5 @@
1
1
  import * as kysely from 'kysely';
2
- import { R as RuntimePlugin, V as OnKyselyQueryArgs } from '../../contract-C6xcEG6Q.cjs';
2
+ import { R as RuntimePlugin, V as OnKyselyQueryArgs } from '../../contract-Cn4sSxg8.cjs';
3
3
  import { SchemaDef } from '@zenstackhq/sdk/schema';
4
4
  import 'decimal.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import * as kysely from 'kysely';
2
- import { R as RuntimePlugin, V as OnKyselyQueryArgs } from '../../contract-C6xcEG6Q.js';
2
+ import { R as RuntimePlugin, V as OnKyselyQueryArgs } from '../../contract-Cn4sSxg8.js';
3
3
  import { SchemaDef } from '@zenstackhq/sdk/schema';
4
4
  import 'decimal.js';
5
5
 
@@ -1015,6 +1015,9 @@ var PostgresCrudDialect = class extends BaseCrudDialect {
1015
1015
  return `ARRAY[${values.map((v) => typeof v === "string" ? `'${v}'` : v)}]`;
1016
1016
  }
1017
1017
  }
1018
+ get supportInsertWithDefault() {
1019
+ return true;
1020
+ }
1018
1021
  };
1019
1022
 
1020
1023
  // src/client/crud/dialects/sqlite.ts
@@ -1169,6 +1172,9 @@ var SqliteCrudDialect = class extends BaseCrudDialect {
1169
1172
  buildArrayLiteralSQL(_values) {
1170
1173
  throw new Error("SQLite does not support array literals");
1171
1174
  }
1175
+ get supportInsertWithDefault() {
1176
+ return false;
1177
+ }
1172
1178
  };
1173
1179
 
1174
1180
  // src/client/crud/dialects/index.ts