@sqlbraid/core 0.1.0-rc.1 → 1.0.0

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/dist/index.js CHANGED
@@ -1,16 +1,668 @@
1
+ //#region src/authoring-modules.ts
2
+ const AUTHORING_MODULE_CATALOG = Object.freeze([
3
+ {
4
+ moduleSpecifier: "@sqlbraid/template",
5
+ helperFamily: "template"
6
+ },
7
+ {
8
+ moduleSpecifier: "@sqlbraid/postgres",
9
+ dialectId: "postgres",
10
+ helperFamily: "template"
11
+ },
12
+ {
13
+ moduleSpecifier: "@sqlbraid/mysql",
14
+ dialectId: "mysql",
15
+ helperFamily: "template"
16
+ },
17
+ {
18
+ moduleSpecifier: "@sqlbraid/mariadb",
19
+ dialectId: "mariadb",
20
+ helperFamily: "template"
21
+ },
22
+ {
23
+ moduleSpecifier: "@sqlbraid/sqlite",
24
+ dialectId: "sqlite",
25
+ helperFamily: "template"
26
+ },
27
+ {
28
+ moduleSpecifier: "@sqlbraid/oracle",
29
+ dialectId: "oracle",
30
+ helperFamily: "template"
31
+ },
32
+ {
33
+ moduleSpecifier: "@sqlbraid/mssql",
34
+ dialectId: "mssql",
35
+ helperFamily: "template"
36
+ },
37
+ {
38
+ moduleSpecifier: "sqlbraid/pg",
39
+ dialectId: "postgres",
40
+ helperFamily: "facade"
41
+ },
42
+ {
43
+ moduleSpecifier: "sqlbraid/mysql2",
44
+ dialectId: "mysql",
45
+ helperFamily: "facade"
46
+ },
47
+ {
48
+ moduleSpecifier: "sqlbraid/mariadb",
49
+ dialectId: "mariadb",
50
+ helperFamily: "facade"
51
+ },
52
+ {
53
+ moduleSpecifier: "sqlbraid/node-sqlite",
54
+ dialectId: "sqlite",
55
+ helperFamily: "facade"
56
+ },
57
+ {
58
+ moduleSpecifier: "sqlbraid/better-sqlite3",
59
+ dialectId: "sqlite",
60
+ helperFamily: "facade"
61
+ },
62
+ {
63
+ moduleSpecifier: "sqlbraid/libsql",
64
+ dialectId: "sqlite",
65
+ helperFamily: "facade"
66
+ },
67
+ {
68
+ moduleSpecifier: "sqlbraid/sqlite-wasm",
69
+ dialectId: "sqlite",
70
+ helperFamily: "facade"
71
+ },
72
+ {
73
+ moduleSpecifier: "sqlbraid/d1",
74
+ dialectId: "sqlite",
75
+ helperFamily: "facade"
76
+ },
77
+ {
78
+ moduleSpecifier: "sqlbraid/oracledb",
79
+ dialectId: "oracle",
80
+ helperFamily: "facade"
81
+ },
82
+ {
83
+ moduleSpecifier: "sqlbraid/tedious",
84
+ dialectId: "mssql",
85
+ helperFamily: "facade"
86
+ },
87
+ {
88
+ moduleSpecifier: "sqlbraid/postgres",
89
+ dialectId: "postgres",
90
+ helperFamily: "facade"
91
+ },
92
+ {
93
+ moduleSpecifier: "sqlbraid/mysql",
94
+ dialectId: "mysql",
95
+ helperFamily: "facade"
96
+ },
97
+ {
98
+ moduleSpecifier: "sqlbraid/sqlite",
99
+ dialectId: "sqlite",
100
+ helperFamily: "facade"
101
+ },
102
+ {
103
+ moduleSpecifier: "sqlbraid/oracle",
104
+ dialectId: "oracle",
105
+ helperFamily: "facade"
106
+ },
107
+ {
108
+ moduleSpecifier: "sqlbraid/mssql",
109
+ dialectId: "mssql",
110
+ helperFamily: "facade"
111
+ }
112
+ ].map((entry) => Object.freeze(entry)));
113
+
114
+ //#endregion
115
+ //#region src/capabilities.ts
116
+ const definitions = [
117
+ {
118
+ id: "sql.native-transparency",
119
+ family: "support"
120
+ },
121
+ {
122
+ id: "sql.generated-structure",
123
+ family: "support"
124
+ },
125
+ {
126
+ id: "result.rows",
127
+ family: "support"
128
+ },
129
+ {
130
+ id: "result.command",
131
+ family: "support"
132
+ },
133
+ {
134
+ id: "result.multiple-sets",
135
+ family: "support"
136
+ },
137
+ {
138
+ id: "result.standard-schema",
139
+ family: "support"
140
+ },
141
+ {
142
+ id: "numeric.exact-integer",
143
+ family: "representation"
144
+ },
145
+ {
146
+ id: "numeric.exact-decimal",
147
+ family: "representation"
148
+ },
149
+ {
150
+ id: "numeric.approximate-float",
151
+ family: "representation"
152
+ },
153
+ {
154
+ id: "numeric.approximate-special",
155
+ family: "representation"
156
+ },
157
+ {
158
+ id: "numeric.bind-exact",
159
+ family: "representation"
160
+ },
161
+ {
162
+ id: "numeric.aggregate",
163
+ family: "representation"
164
+ },
165
+ {
166
+ id: "numeric.command-metadata",
167
+ family: "representation"
168
+ },
169
+ {
170
+ id: "numeric.special-values",
171
+ family: "representation"
172
+ },
173
+ {
174
+ id: "numeric.scale-greater-than-precision",
175
+ family: "representation"
176
+ },
177
+ {
178
+ id: "numeric.negative-scale",
179
+ family: "representation"
180
+ },
181
+ {
182
+ id: "data.json-parsed",
183
+ family: "representation"
184
+ },
185
+ {
186
+ id: "data.json-lossless-text",
187
+ family: "representation"
188
+ },
189
+ {
190
+ id: "data.sql-variant",
191
+ family: "representation"
192
+ },
193
+ {
194
+ id: "data.oracle-object",
195
+ family: "representation"
196
+ },
197
+ {
198
+ id: "data.oracle-collection",
199
+ family: "representation"
200
+ },
201
+ {
202
+ id: "data.vector",
203
+ family: "representation"
204
+ },
205
+ {
206
+ id: "data.binary",
207
+ family: "representation"
208
+ },
209
+ {
210
+ id: "data.uuid",
211
+ family: "representation"
212
+ },
213
+ {
214
+ id: "data.temporal-native",
215
+ family: "representation"
216
+ },
217
+ {
218
+ id: "data.temporal-lossless",
219
+ family: "representation"
220
+ },
221
+ {
222
+ id: "data.timezone",
223
+ family: "representation"
224
+ },
225
+ {
226
+ id: "metadata.command-safe",
227
+ family: "metadata"
228
+ },
229
+ {
230
+ id: "dml.insert-returning",
231
+ family: "support"
232
+ },
233
+ {
234
+ id: "dml.update-returning",
235
+ family: "support"
236
+ },
237
+ {
238
+ id: "dml.delete-returning",
239
+ family: "support"
240
+ },
241
+ {
242
+ id: "dml.merge-returning",
243
+ family: "support"
244
+ },
245
+ {
246
+ id: "dml.upsert-returning",
247
+ family: "support"
248
+ },
249
+ {
250
+ id: "session.pinned",
251
+ family: "support"
252
+ },
253
+ {
254
+ id: "statement.prepare",
255
+ family: "support"
256
+ },
257
+ {
258
+ id: "statement.cancel",
259
+ family: "support"
260
+ },
261
+ {
262
+ id: "statement.stream",
263
+ family: "support"
264
+ },
265
+ {
266
+ id: "statement.bulk",
267
+ family: "support"
268
+ },
269
+ {
270
+ id: "execution.bulk-fidelity",
271
+ family: "support"
272
+ },
273
+ {
274
+ id: "transaction",
275
+ family: "support"
276
+ },
277
+ {
278
+ id: "transaction.savepoint",
279
+ family: "support"
280
+ },
281
+ {
282
+ id: "transaction.read-only",
283
+ family: "support"
284
+ },
285
+ {
286
+ id: "transaction.isolation.read-uncommitted",
287
+ family: "support"
288
+ },
289
+ {
290
+ id: "transaction.isolation.read-committed",
291
+ family: "support"
292
+ },
293
+ {
294
+ id: "transaction.isolation.repeatable-read",
295
+ family: "support"
296
+ },
297
+ {
298
+ id: "transaction.isolation.serializable",
299
+ family: "support"
300
+ },
301
+ {
302
+ id: "routine.call",
303
+ family: "support"
304
+ },
305
+ {
306
+ id: "routine.out",
307
+ family: "support"
308
+ },
309
+ {
310
+ id: "routine.inout",
311
+ family: "support"
312
+ },
313
+ {
314
+ id: "routine.result-sets",
315
+ family: "support"
316
+ },
317
+ {
318
+ id: "routine.out-cursor",
319
+ family: "support"
320
+ },
321
+ {
322
+ id: "routine.return-value",
323
+ family: "support"
324
+ },
325
+ {
326
+ id: "metadata.identity",
327
+ family: "metadata"
328
+ },
329
+ {
330
+ id: "metadata.generated",
331
+ family: "metadata"
332
+ },
333
+ {
334
+ id: "metadata.routines",
335
+ family: "metadata"
336
+ },
337
+ {
338
+ id: "metadata.types",
339
+ family: "metadata"
340
+ }
341
+ ];
342
+ const WELL_KNOWN_CAPABILITIES = Object.freeze(definitions.map((entry) => Object.freeze(entry)));
343
+ const WELL_KNOWN_CAPABILITY_IDS = Object.freeze(definitions.map(({ id }) => id));
344
+ const wellKnownCapabilityIds = new Set(WELL_KNOWN_CAPABILITY_IDS);
345
+ function isWellKnownCapabilityId(value) {
346
+ return wellKnownCapabilityIds.has(value);
347
+ }
348
+
349
+ //#endregion
1
350
  //#region src/index.ts
2
351
  const SQL_FRAGMENT = Symbol.for("sqlbraid.fragment");
3
352
  const SQL_BOUND_PARAMETER = Symbol.for("sqlbraid.bound-parameter");
4
353
  const knownBoundParameters = /* @__PURE__ */ new WeakSet();
5
354
  const SQL_ROUTINE_PARAMETER = Symbol.for("sqlbraid.routine-parameter");
6
355
  const knownRoutineParameters = /* @__PURE__ */ new WeakSet();
7
- var ResultExactnessError = class extends Error {
8
- code = "BRAID_RESULT_EXACTNESS";
356
+ var ResultExactnessError = class ResultExactnessError extends Error {
357
+ static {
358
+ this.code = "BRAID_RESULT_EXACTNESS";
359
+ }
9
360
  constructor(message = "Result value does not have an exact representation.") {
10
361
  super(message);
362
+ this.code = ResultExactnessError.code;
11
363
  this.name = "ResultExactnessError";
12
364
  }
13
365
  };
366
+ /**
367
+ * The intentionally small compatibility boundary for SQLBraid-owned errors.
368
+ *
369
+ * Keep this registry explicit. In particular, a BRAID_ token in a driver
370
+ * message or an internal compiler fallback is not public merely because it
371
+ * happens to use the project prefix.
372
+ */
373
+ const PUBLIC_ERROR_DEFINITIONS = Object.freeze([
374
+ {
375
+ code: "BRAID_RESULT_EXACTNESS",
376
+ category: "runtime",
377
+ owner: "ResultExactnessError"
378
+ },
379
+ {
380
+ code: "BRAID_CALL_MAP",
381
+ category: "runtime",
382
+ owner: "RoutineMappingError"
383
+ },
384
+ {
385
+ code: "BRAID_RESULT_KIND",
386
+ category: "runtime",
387
+ owner: "@sqlbraid/runtime:DatabaseResultKindError"
388
+ },
389
+ {
390
+ code: "BRAID_RESULT_VALIDATION",
391
+ category: "runtime",
392
+ owner: "@sqlbraid/runtime:DatabaseResultValidationError"
393
+ },
394
+ {
395
+ code: "BRAID_BATCH_ABORTED",
396
+ category: "runtime",
397
+ owner: "runtime batch lifecycle/synthetic observer error"
398
+ },
399
+ {
400
+ code: "BRAID_TX_SCOPE",
401
+ category: "runtime",
402
+ owner: "@sqlbraid/runtime:DatabaseScopeError"
403
+ },
404
+ {
405
+ code: "BRAID_TX_CLOSED",
406
+ category: "runtime",
407
+ owner: "@sqlbraid/runtime:DatabaseScopeError"
408
+ },
409
+ {
410
+ code: "BRAID_SESSION_SCOPE",
411
+ category: "runtime",
412
+ owner: "@sqlbraid/runtime:DatabaseScopeError"
413
+ },
414
+ {
415
+ code: "BRAID_SESSION_CLOSED",
416
+ category: "runtime",
417
+ owner: "@sqlbraid/runtime:DatabaseScopeError"
418
+ },
419
+ {
420
+ code: "BRAID_CONNECTION_POISONED",
421
+ category: "runtime",
422
+ owner: "@sqlbraid/runtime:DatabaseScopeError"
423
+ },
424
+ {
425
+ code: "BRAID_STREAM_SCOPE",
426
+ category: "runtime",
427
+ owner: "@sqlbraid/runtime:DatabaseScopeError"
428
+ },
429
+ {
430
+ code: "BRAID_REENTRY",
431
+ category: "runtime",
432
+ owner: "@sqlbraid/runtime:DatabaseScopeError"
433
+ },
434
+ {
435
+ code: "BRAID_TX_OPTIONS_NESTED",
436
+ category: "runtime",
437
+ owner: "@sqlbraid/runtime:DatabaseScopeError"
438
+ },
439
+ {
440
+ code: "BRAID_CALL_UNSUPPORTED",
441
+ category: "adapter",
442
+ owner: "UnsupportedFeatureError",
443
+ features: ["routine.call"]
444
+ },
445
+ {
446
+ code: "BRAID_RESULT_SETS_UNSUPPORTED",
447
+ category: "adapter",
448
+ owner: "UnsupportedFeatureError",
449
+ features: ["routine.result-sets"]
450
+ },
451
+ {
452
+ code: "BRAID_STREAM_UNSUPPORTED",
453
+ category: "adapter",
454
+ owner: "UnsupportedFeatureError",
455
+ features: ["statement.stream"]
456
+ },
457
+ {
458
+ code: "BRAID_CANCEL_UNSUPPORTED",
459
+ category: "adapter",
460
+ owner: "UnsupportedFeatureError",
461
+ features: ["statement.cancel"]
462
+ },
463
+ {
464
+ code: "BRAID_SESSION_UNSUPPORTED",
465
+ category: "adapter",
466
+ owner: "UnsupportedFeatureError",
467
+ features: ["session.pinned"]
468
+ },
469
+ {
470
+ code: "BRAID_TX_UNSUPPORTED",
471
+ category: "adapter",
472
+ owner: "UnsupportedFeatureError",
473
+ features: ["transaction", "transaction.savepoint"]
474
+ },
475
+ {
476
+ code: "BRAID_TX_OPTIONS_INVALID",
477
+ category: "runtime",
478
+ owner: "TypeError with code"
479
+ },
480
+ {
481
+ code: "BRAID_TX_OPTION_UNSUPPORTED",
482
+ category: "adapter",
483
+ owner: "UnsupportedFeatureError",
484
+ features: [
485
+ "transaction.read-only",
486
+ "transaction.isolation.read-uncommitted",
487
+ "transaction.isolation.read-committed",
488
+ "transaction.isolation.repeatable-read",
489
+ "transaction.isolation.serializable"
490
+ ]
491
+ },
492
+ {
493
+ code: "BRAID_CALL_RESULT_SETS",
494
+ category: "adapter",
495
+ owner: "UnsupportedFeatureError",
496
+ features: ["routine.result-sets"]
497
+ },
498
+ {
499
+ code: "BRAID_CALL_CURSOR_TX_REQUIRED",
500
+ category: "adapter",
501
+ owner: "UnsupportedFeatureError",
502
+ features: ["routine.out-cursor"]
503
+ },
504
+ {
505
+ code: "BRAID_CALL_OUT_UNSUPPORTED",
506
+ category: "adapter",
507
+ owner: "UnsupportedFeatureError",
508
+ features: ["routine.out", "routine.inout"]
509
+ },
510
+ {
511
+ code: "BRAID_CALL_RETURN_UNSUPPORTED",
512
+ category: "adapter",
513
+ owner: "UnsupportedFeatureError",
514
+ features: ["routine.call", "routine.return-value"]
515
+ },
516
+ {
517
+ code: "BRAID_CALL_CURSOR_UNSUPPORTED",
518
+ category: "adapter",
519
+ owner: "UnsupportedFeatureError",
520
+ features: ["routine.out-cursor"]
521
+ },
522
+ {
523
+ code: "BRAID_RESOURCE_CLEANUP",
524
+ category: "adapter",
525
+ owner: "adapter cleanup error with code",
526
+ features: ["resource.cleanup", "resource.discard"]
527
+ },
528
+ {
529
+ code: "BRAID_BIND_HINT_UNSUPPORTED",
530
+ category: "adapter",
531
+ owner: "UnsupportedFeatureError",
532
+ features: ["statement.bind-hint"]
533
+ },
534
+ {
535
+ code: "BRAID_BIND_VALUE_UNSUPPORTED",
536
+ category: "adapter",
537
+ owner: "AdapterError"
538
+ },
539
+ {
540
+ code: "BRAID_INTEGER_MODE_UNSUPPORTED",
541
+ category: "adapter",
542
+ owner: "UnsupportedFeatureError",
543
+ features: ["result.exact-integer"]
544
+ },
545
+ {
546
+ code: "BRAID_CALL_LOB_UNSUPPORTED",
547
+ category: "adapter",
548
+ owner: "UnsupportedFeatureError",
549
+ features: ["routine.out"]
550
+ },
551
+ {
552
+ code: "BRAID_BULK_UNSUPPORTED",
553
+ category: "adapter",
554
+ owner: "UnsupportedFeatureError",
555
+ features: ["statement.bulk"]
556
+ },
557
+ {
558
+ code: "BRAID_PREPARE_UNSUPPORTED",
559
+ category: "adapter",
560
+ owner: "UnsupportedFeatureError",
561
+ features: ["statement.prepare"]
562
+ },
563
+ {
564
+ code: "BRAID_DIALECT_MISMATCH",
565
+ category: "adapter",
566
+ owner: "UnsupportedFeatureError",
567
+ features: ["dialect"]
568
+ },
569
+ {
570
+ code: "BRAID_RESULT_KIND_AMBIGUOUS",
571
+ category: "adapter",
572
+ owner: "UnsupportedFeatureError",
573
+ features: ["result.rows", "result.command"]
574
+ },
575
+ {
576
+ code: "BRAID_PREPARED_NAME",
577
+ category: "runtime",
578
+ owner: "prepared query validation"
579
+ },
580
+ {
581
+ code: "BRAID_PREPARED_SHAPE",
582
+ category: "runtime",
583
+ owner: "prepared query validation"
584
+ },
585
+ {
586
+ code: "BRAID_BIND_TYPE_REQUIRED",
587
+ category: "adapter",
588
+ owner: "AdapterError"
589
+ },
590
+ {
591
+ code: "BRAID_EMPTY_LIST",
592
+ category: "runtime",
593
+ owner: "SqlRenderError"
594
+ },
595
+ {
596
+ code: "BRAID_EMPTY_SET",
597
+ category: "runtime",
598
+ owner: "SqlRenderError"
599
+ },
600
+ {
601
+ code: "BRAID_DIALECT",
602
+ category: "runtime",
603
+ owner: "SqlRenderError"
604
+ },
605
+ {
606
+ code: "BRAID_ASYNC_CONTEXT",
607
+ category: "compiler",
608
+ owner: "compiler diagnostic"
609
+ },
610
+ {
611
+ code: "BRAID_DIRECTIVE_UNTERMINATED",
612
+ category: "runtime",
613
+ owner: "SqlRenderError"
614
+ },
615
+ {
616
+ code: "BRAID_DIRECTIVE",
617
+ category: "runtime",
618
+ owner: "SqlRenderError"
619
+ },
620
+ {
621
+ code: "BRAID_CONDITION",
622
+ category: "runtime",
623
+ owner: "SqlRenderError"
624
+ },
625
+ {
626
+ code: "BRAID_ATTRIBUTES",
627
+ category: "runtime",
628
+ owner: "SqlRenderError"
629
+ },
630
+ {
631
+ code: "BRAID_STRUCTURE",
632
+ category: "runtime",
633
+ owner: "SqlRenderError"
634
+ },
635
+ {
636
+ code: "BRAID_HOLE_CONTEXT",
637
+ category: "runtime",
638
+ owner: "SqlRenderError"
639
+ },
640
+ {
641
+ code: "BRAID_SQL_LEX",
642
+ category: "runtime",
643
+ owner: "SqlRenderError"
644
+ },
645
+ {
646
+ code: "BRAID_DEPTH",
647
+ category: "runtime",
648
+ owner: "SqlRenderError"
649
+ },
650
+ {
651
+ code: "BRAID_STRUCTURE_LIMIT",
652
+ category: "runtime",
653
+ owner: "SqlRenderError"
654
+ },
655
+ {
656
+ code: "BRAID_SQL_LIMIT",
657
+ category: "runtime",
658
+ owner: "SqlRenderError"
659
+ },
660
+ {
661
+ code: "BRAID_BIND_LIMIT",
662
+ category: "runtime",
663
+ owner: "SqlRenderError"
664
+ }
665
+ ]);
14
666
  function exactnessFailure(message) {
15
667
  throw new ResultExactnessError(message);
16
668
  }
@@ -257,7 +909,10 @@ function genericLiteral(parameter, dialectId, binary) {
257
909
  const value = parameter.value;
258
910
  if (value === null) return "NULL";
259
911
  if (value === void 0) return "[undefined]";
260
- if (typeof value === "string") return `'${value.replaceAll("'", "''")}'`;
912
+ if (typeof value === "string") {
913
+ if (/^(?:mysql|mariadb)/i.test(dialectId)) return `[string ${JSON.stringify(value)}]`;
914
+ return `'${value.replaceAll("'", "''")}'`;
915
+ }
261
916
  if (typeof value === "boolean") {
262
917
  if (/^(?:mysql|sqlite)/i.test(dialectId) || /^(?:oracle|mssql|sqlserver)/i.test(dialectId)) return value ? "1" : "0";
263
918
  if (/^(?:postgres|postgresql|cockroach|redshift)/i.test(dialectId)) return value ? "TRUE" : "FALSE";
@@ -462,8 +1117,6 @@ function createBulkBindingDescription(bulk, context, options) {
462
1117
  return Object.freeze(description);
463
1118
  }
464
1119
  var UnsupportedFeatureError = class extends Error {
465
- feature;
466
- code;
467
1120
  constructor(feature, code, message, options) {
468
1121
  super(`${code}: ${message}`, options);
469
1122
  this.feature = feature;
@@ -471,17 +1124,31 @@ var UnsupportedFeatureError = class extends Error {
471
1124
  this.name = "UnsupportedFeatureError";
472
1125
  }
473
1126
  };
474
- var RoutineMappingError = class extends Error {
475
- code = "BRAID_CALL_MAP";
476
- location;
1127
+ /** Return true only for a registered, semantically valid feature/code pair. */
1128
+ function isPublicUnsupportedFeatureError(error) {
1129
+ if (!(error instanceof UnsupportedFeatureError)) return false;
1130
+ return PUBLIC_ERROR_DEFINITIONS.find((candidate) => candidate.owner === "UnsupportedFeatureError" && candidate.code === error.code)?.features?.includes(error.feature) === true;
1131
+ }
1132
+ /** An adapter-owned input/transport failure that retains TypeError semantics. */
1133
+ var AdapterError = class extends TypeError {
1134
+ constructor(code, message, options) {
1135
+ super(`${code}: ${message}`, options);
1136
+ this.code = code;
1137
+ this.name = "AdapterError";
1138
+ }
1139
+ };
1140
+ var RoutineMappingError = class RoutineMappingError extends Error {
1141
+ static {
1142
+ this.code = "BRAID_CALL_MAP";
1143
+ }
477
1144
  constructor(message, location, options) {
478
1145
  super(message, options);
1146
+ this.code = RoutineMappingError.code;
479
1147
  this.name = "RoutineMappingError";
480
1148
  this.location = Object.freeze(location);
481
1149
  }
482
1150
  };
483
1151
  var SqlRenderError = class extends Error {
484
- code;
485
1152
  constructor(code, message) {
486
1153
  super(message);
487
1154
  this.name = "SqlRenderError";
@@ -490,5 +1157,5 @@ var SqlRenderError = class extends Error {
490
1157
  };
491
1158
 
492
1159
  //#endregion
493
- export { ResultExactnessError, RoutineMappingError, SQL_FRAGMENT, SqlRenderError, UnsupportedFeatureError, createBoundParameter, createBulkBindingDescription, createParameterTypeHint, createRenderedBulk, createRenderedStatement, createRoutineInOutParameter, createRoutineOutParameter, createStatementBindingDescription, decodeExactDecimal, decodeExactInteger, isBoundParameter, isRoutineParameter, normalizeExactInteger, parameterizedSql, safeDatabaseCount };
1160
+ export { AUTHORING_MODULE_CATALOG, AdapterError, PUBLIC_ERROR_DEFINITIONS, ResultExactnessError, RoutineMappingError, SQL_FRAGMENT, SqlRenderError, UnsupportedFeatureError, WELL_KNOWN_CAPABILITIES, WELL_KNOWN_CAPABILITY_IDS, createBoundParameter, createBulkBindingDescription, createParameterTypeHint, createRenderedBulk, createRenderedStatement, createRoutineInOutParameter, createRoutineOutParameter, createStatementBindingDescription, decodeExactDecimal, decodeExactInteger, isBoundParameter, isPublicUnsupportedFeatureError, isRoutineParameter, isWellKnownCapabilityId, normalizeExactInteger, parameterizedSql, safeDatabaseCount };
494
1161
  //# sourceMappingURL=index.js.map