qubu 0.6.0 → 0.6.2

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.
Files changed (95) hide show
  1. package/README.md +112 -0
  2. package/dist/{complete-DP7pliuY.mjs → canonical-B5_ouh-c.mjs} +466 -241
  3. package/dist/codegen.d.mts +2 -2
  4. package/dist/codegen.mjs +180 -90
  5. package/dist/column-Cyc2CMnG.mjs +116 -0
  6. package/dist/column-DDRvD7SF.mjs +721 -0
  7. package/dist/{constraints-YGyNPQ_z.mjs → constraints-CAmi18Uk.mjs} +8 -3
  8. package/dist/core.d.mts +3 -3
  9. package/dist/core.mjs +4 -5
  10. package/dist/diagnostics-I9vVtXkc.mjs +40 -0
  11. package/dist/diff.d.mts +9 -9
  12. package/dist/diff.mjs +152 -102
  13. package/dist/{explain-CkIK13L_.mjs → explain-BIqEmZha.mjs} +1 -1
  14. package/dist/expressions-_6JF_J77.mjs +130 -0
  15. package/dist/index-CaxrMD1A.d.mts +1 -0
  16. package/dist/index.d.mts +2 -2
  17. package/dist/index.mjs +414 -77
  18. package/dist/introspection/mysql.d.mts +26 -0
  19. package/dist/introspection/mysql.mjs +1278 -0
  20. package/dist/introspection/postgres.d.mts +43 -0
  21. package/dist/introspection/postgres.mjs +1889 -0
  22. package/dist/introspection/sqlite.d.mts +15 -0
  23. package/dist/introspection/sqlite.mjs +1172 -0
  24. package/dist/introspection.d.mts +26 -87
  25. package/dist/introspection.mjs +3 -4351
  26. package/dist/mysql.d.mts +3 -3
  27. package/dist/mysql.mjs +8 -7
  28. package/dist/{errors-Dxv73YJu.mjs → omit-VEr9Ydux.mjs} +5 -1
  29. package/dist/{on-conflict-DZQ85f1t.mjs → on-conflict-B2rFyHGF.mjs} +78 -8
  30. package/dist/on-duplicate-key-update-Czsw1Yq-.mjs +95 -0
  31. package/dist/postgres-hFhd0I9n.mjs +68 -0
  32. package/dist/postgres.d.mts +3 -3
  33. package/dist/postgres.mjs +3 -52
  34. package/dist/registry-BXE_4M9P.mjs +127 -0
  35. package/dist/{relational-CxnLCqZQ.mjs → relational-CoPBETjI.mjs} +3 -3
  36. package/dist/schema.d.mts +2 -2
  37. package/dist/schema.mjs +8 -7
  38. package/dist/{serialize-BN07IK0v.mjs → serialize-CyobNEx-.mjs} +174 -30
  39. package/dist/serialize-Du2UPZMt.d.mts +92 -0
  40. package/dist/snapshot/mysql.d.mts +5 -5
  41. package/dist/snapshot/mysql.mjs +32 -32
  42. package/dist/snapshot/postgres.d.mts +5 -5
  43. package/dist/snapshot/postgres.mjs +25 -25
  44. package/dist/snapshot/sqlite.d.mts +5 -5
  45. package/dist/snapshot/sqlite.mjs +30 -30
  46. package/dist/snapshot-mIb-Zzb5.mjs +1489 -0
  47. package/dist/snapshot.d.mts +4 -5
  48. package/dist/snapshot.mjs +3 -4
  49. package/dist/{source-SqrKWjFJ.mjs → source-DYSUqzvb.mjs} +2 -2
  50. package/dist/sqlite.d.mts +2 -2
  51. package/dist/sqlite.mjs +10 -10
  52. package/dist/{table-BwflqeAj.mjs → table-B8zEq0az.mjs} +4 -4
  53. package/dist/{types-BIJsj2fJ.mjs → types-CYHpSPwj.mjs} +10 -7
  54. package/dist/{types-CTCqtFlS.d.mts → types-CiMvKi5V.d.mts} +14 -4
  55. package/dist/{types-C0VkiwpR.d.mts → types-Dqr4o2I1.d.mts} +640 -189
  56. package/dist/value-CpaUFtjw.mjs +45 -0
  57. package/dist/vite/ambient.d.ts +2 -0
  58. package/dist/vite.d.mts +1 -1
  59. package/dist/vite.mjs +2 -0
  60. package/docs/dialects-and-execution.md +61 -11
  61. package/docs/getting-started.md +1 -1
  62. package/docs/guides/compose-queries.md +22 -0
  63. package/docs/guides/drizzle.md +11 -11
  64. package/docs/guides/extensions/typed-expressions.md +5 -3
  65. package/docs/guides/json.md +95 -2
  66. package/docs/guides/mutations.md +125 -0
  67. package/docs/guides/valtio-sync.md +113 -0
  68. package/docs/index.md +1 -1
  69. package/docs/migrations/adapters.md +58 -21
  70. package/docs/migrations/index.md +50 -12
  71. package/docs/migrations/operations.md +20 -6
  72. package/docs/migrations/recovery.md +7 -1
  73. package/docs/query-model/fragments.md +21 -1
  74. package/docs/reference/introspection-support.md +16 -18
  75. package/docs/reference/supported-surface.md +23 -11
  76. package/docs/schema/catalog-model.md +20 -7
  77. package/docs/schema/code-generation.md +4 -3
  78. package/docs/schema/diff.md +2 -2
  79. package/docs/schema/introspection.md +24 -16
  80. package/docs/schema/snapshots.md +18 -8
  81. package/docs/schema/storage-and-schema-sql.md +7 -2
  82. package/docs/sql-semantic-types.md +8 -0
  83. package/package.json +14 -1
  84. package/dist/canonical-DMvR9yBe.mjs +0 -972
  85. package/dist/column-Da37jYSD.mjs +0 -309
  86. package/dist/column-r1Y4ivwt.mjs +0 -327
  87. package/dist/complete-types-CY0KbzNw.d.mts +0 -371
  88. package/dist/index-B2rZf3-2.d.mts +0 -32
  89. package/dist/json-Db7XRD91.mjs +0 -169
  90. package/dist/omit-OxV58AwX.mjs +0 -5
  91. package/dist/registry-BRcUuazJ.mjs +0 -256
  92. package/dist/serialize-CEIIlWhC.d.mts +0 -66
  93. package/dist/snapshot-Xam8-q0j.mjs +0 -392
  94. package/dist/standard-DfcZEVOj.mjs +0 -12
  95. package/dist/value-D14I_XgL.mjs +0 -29
@@ -0,0 +1,130 @@
1
+ import { E as makeSchemaExpression, O as markSchemaExpression, r as isColumnReference, w as isSchemaExpression } from "./column-DDRvD7SF.mjs";
2
+ import { n as isValueExpression, o as standardDialect } from "./value-CpaUFtjw.mjs";
3
+ //#region src/schema/expressions.ts
4
+ /** Error raised before a schema expression can become persisted SQL. */
5
+ var SchemaExpressionError = class extends TypeError {
6
+ code;
7
+ mode;
8
+ constructor(code, message, mode) {
9
+ super(message);
10
+ this.name = "SchemaExpressionError";
11
+ this.code = code;
12
+ this.mode = mode;
13
+ }
14
+ };
15
+ /**
16
+ * Normalize only line endings. Whitespace, quoting, and every other byte of a raw schema expression
17
+ * remain under the extension author's control.
18
+ */
19
+ function normalizeSchemaSql(sql) {
20
+ return sql.replace(/\r\n?/g, "\n");
21
+ }
22
+ function schemaExpression(expression) {
23
+ return markSchemaExpression(expression);
24
+ }
25
+ /**
26
+ * Define an extension with the restricted schema context. This is the typed alternative to
27
+ * {@link unsafeSchemaSql} for deterministic custom syntax.
28
+ */
29
+ function defineSchemaExpression(kind, render) {
30
+ return makeSchemaExpression(kind, (context) => render(context));
31
+ }
32
+ function unsafeSchemaSql(dialectOrOptions, sql) {
33
+ const dialect = typeof dialectOrOptions === "string" ? dialectOrOptions : dialectOrOptions.dialect;
34
+ const source = typeof dialectOrOptions === "string" ? sql : dialectOrOptions.sql;
35
+ if (!dialect) throw new TypeError("unsafeSchemaSql() requires a dialect tag");
36
+ if (source === void 0) throw new TypeError("unsafeSchemaSql() requires SQL text");
37
+ const normalized = normalizeSchemaSql(source);
38
+ const expression = makeSchemaExpression("unsafe", (context) => context.append(normalized));
39
+ return Object.freeze({
40
+ ...expression,
41
+ schemaSqlDialect: dialect,
42
+ schemaSql: normalized
43
+ });
44
+ }
45
+ /** Identify a dialect-tagged raw schema expression. */
46
+ function isUnsafeSchemaSql(value) {
47
+ return isSchemaExpression(value) && value.expressionKind === "unsafe" && typeof value.schemaSqlDialect === "string" && typeof value.schemaSql === "string";
48
+ }
49
+ function renderSchemaExpression(expression, optionsOrMode, dialectOption) {
50
+ const options = typeof optionsOrMode === "string" ? {
51
+ mode: optionsOrMode,
52
+ dialect: dialectOption
53
+ } : optionsOrMode;
54
+ const dialect = options.dialect ?? standardDialect();
55
+ if (!isSchemaExpression(expression)) throw new SchemaExpressionError("not-deterministic", "Only branded deterministic expressions can be rendered as schema SQL", options.mode);
56
+ assertSupportedExpression(expression, options.mode);
57
+ let text = "";
58
+ const context = {
59
+ dialect,
60
+ projectionMode: "result",
61
+ schemaMode: options.mode,
62
+ append(value) {
63
+ text += value;
64
+ },
65
+ parameter() {
66
+ throw new SchemaExpressionError("parameter", "Schema expressions cannot render query parameters", options.mode);
67
+ },
68
+ literal(value) {
69
+ text += renderSchemaLiteral(dialect, value, options.mode);
70
+ },
71
+ renderColumnReference(columnName) {
72
+ if (options.mode === "default") throw new SchemaExpressionError("column-not-allowed", "Default expressions cannot reference table columns", options.mode);
73
+ text += dialect.quoteIdentifier(columnName);
74
+ },
75
+ render(part) {
76
+ renderSchemaPart(context, part, options.mode);
77
+ },
78
+ renderRelation() {
79
+ throw new SchemaExpressionError("unsupported-expression", "Schema expressions cannot contain subqueries", options.mode);
80
+ }
81
+ };
82
+ renderSchemaPart(context, expression, options.mode);
83
+ return Object.freeze({
84
+ text,
85
+ parameters: Object.freeze([])
86
+ });
87
+ }
88
+ /** Convenience form for callers that only need the SQL text. */
89
+ function renderSchemaSql(expression, options) {
90
+ return renderSchemaExpression(expression, options).text;
91
+ }
92
+ function renderSchemaPart(context, part, mode) {
93
+ if (isValueExpression(part)) {
94
+ context.literal(part.value);
95
+ return;
96
+ }
97
+ if (isColumnReference(part)) {
98
+ context.renderColumnReference(part.columnName);
99
+ return;
100
+ }
101
+ if (isUnsafeSchemaSql(part)) {
102
+ if (part.schemaSqlDialect !== context.dialect.name) throw new SchemaExpressionError("dialect-mismatch", `Schema SQL is tagged for "${part.schemaSqlDialect}" but rendered for "${context.dialect.name}"`, mode);
103
+ context.append(part.schemaSql);
104
+ return;
105
+ }
106
+ if (!isSchemaExpression(part)) throw new SchemaExpressionError("not-deterministic", "Schema expressions may only compose branded expressions, columns, and literals", mode);
107
+ assertSupportedExpression(part, mode);
108
+ part.render(context);
109
+ }
110
+ function assertSupportedExpression(expression, mode) {
111
+ if (expression.expressionKind === "subquery" || expression.expressionCategory) throw new SchemaExpressionError("unsupported-expression", "Aggregates, windows, and subqueries are not valid schema expressions", mode);
112
+ }
113
+ function renderSchemaLiteral(dialect, value, mode) {
114
+ if (dialect.renderSchemaLiteral) {
115
+ const rendered = dialect.renderSchemaLiteral(value);
116
+ if (typeof rendered !== "string" || rendered.includes("?")) throw new SchemaExpressionError("invalid-literal", "A schema literal renderer must return parameter-free SQL text", mode);
117
+ return rendered;
118
+ }
119
+ if (value === null) return "NULL";
120
+ if (typeof value === "boolean") return value ? "TRUE" : "FALSE";
121
+ if (typeof value === "string") return `'${value.replaceAll("'", "''")}'`;
122
+ if (typeof value === "bigint") return String(value);
123
+ if (typeof value === "number") {
124
+ if (!Number.isFinite(value)) throw new SchemaExpressionError("unsupported-value", "Schema literals require finite numbers", mode);
125
+ return Object.is(value, -0) ? "0" : String(value);
126
+ }
127
+ throw new SchemaExpressionError("unsupported-value", `Unsupported schema literal type: ${value === void 0 ? "undefined" : typeof value}`, mode);
128
+ }
129
+ //#endregion
130
+ export { renderSchemaExpression as a, unsafeSchemaSql as c, normalizeSchemaSql as i, defineSchemaExpression as n, renderSchemaSql as o, isUnsafeSchemaSql as r, schemaExpression as s, SchemaExpressionError as t };
@@ -0,0 +1 @@
1
+ export {}
package/dist/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as PaginationKind, $a as SqlTag, $c as QubuStreamingTransaction, $i as SourceIndexesRecord, $l as AggregateMeta, $n as WithClause, $o as ColumnStorageDialectOf, $s as ResolvedColumnBehavior, $t as nullsLast, $u as SqlNumericLike, Aa as jsonBoolean, Ac as ExplainReadOptions, Ai as catalogCheck, Al as ExpressionNullability, An as MutationReturningClause, Ao as value, Ar as SchemaExpressionErrorCode, As as numeric, At as SourceSqlTypeMap, Au as RequiresOuterMetadataOf, B as CastTarget, Ba as concat, Bc as HookQueryOperation, Bi as AliasedSource, Bn as select, Bo as ColumnHasDefault, Bs as DefaultDescriptor, Bt as TableDefinitions, Ca as SelectClause, Cc as ExecutionOptions, Ci as SourceConstraintsRecord, Cl as ColumnDependency, Cn as update, Co as isTrue, Cr as SelectionSqlTypes, Cs as date, Ct as SourceColumns, Cu as ProvidesOuterSourceMeta, Da as multiply, Dc as ExplainOptions, Di as UniqueConstraint, Dl as AnySchemaExpression, Dn as MutationQuery, Ds as nativeColumn, Dt as SourceKind, Du as RenderFunction, Ea as modulo, Ec as ExplainMutationOptions, Ei as TableLike, El as AnyExpression, En as MutationKind, Er as SchemaDialectHooks, Es as json, Et as SourceIdentity, Eu as RenderContext, Fa as denseRank, Fc as HookMetadata, Fi as references, Fl as SchemaExpression, Fn as ReturningClause, Fo as ColumnDefaultOf, Fr as UnsafeSchemaSqlExpression, Fs as CanonicalLiteral, Fu as SqlTypeOf, G as DialectJson, Gc as QubuClient, Gi as alias, Gl as ResultDecodingError, Gn as MissingScope, Gr as SchemaNamingPolicy, Gs as GeneratedColumnDescriptor, Gt as TableRow, Gu as SqlBinary, H as DialectCapability, Ha as upper, Hc as HookSuccessOutcome, Hi as LateralSource, Hl as ResultDecodeContext, Hn as AvailableScope, Ho as ColumnIdentityOf, Hr as unsafeSchemaSql, Hs as ExpressionGeneratedColumnDescriptor, Ht as TableInsertInput, Ia as over, Ic as HookMetadataValue, Ii as unique, Il as SchemaExpressionBrand, In as ReturningRow, Io as ColumnDefinition, Is as ColumnBehaviorError, Iu as SubqueryMeta, J as DialectRowLocking, Ja as countDistinct, Jc as QubuExplainableTransactionalClient, Ji as IndexOptions, Jl as booleanResultDecoder, Jn as ScopeValidation, Jo as ColumnOutput, Jr as SchemaTableNames, Js as IdentityDescriptor, Jt as table, Ju as SqlDecimal, K as DialectOptions, Ka as avg, Kc as QubuExplainableClient, Ki as lateral, Kl as ResultField, Kn as RequiredOuterScope, Ko as ColumnOnUpdateOf, Kr as SchemaOptions, Ks as GeneratedColumnMode, Kt as TableSqlTypes, Ku as SqlBoolean, La as rank, Lc as HookOperation, Li as uniqueConstraint, Ln as ReturningSqlTypes, Lo as ColumnDefinitionConfig, Ls as ColumnBehaviorErrorCode, Lt as AnyTable, Lu as VisibleDependenciesOf, Ma as jsonNumber, Mc as ExplainResult, Mi as check, Ml as ExpressionRequires, Mn as MutationScopeValidation, Mo as cast, Mr as SchemaExpressionMode, Ms as text, Mu as RequiresOuterSourceMeta, Na as jsonPath, Nc as ExplainableQueryAdapter, Ni as foreignKey, Nl as ExpressionSqlType, Nn as MutationSqlTypes, Nr as SchemaRenderContext, Ns as timestamp, Nu as RequiresSourceMeta, Oa as subtract, Oc as ExplainOptionsFor, Oi as UniqueConstraintOptions, Ol as Expression, On as MutationQueryConfig, Oo as asValue, Or as RenderedSchemaExpression, Os as nativeStorage, Ot as SourceProvision, Ou as RequiresCapabilityMeta, Pa as jsonText, Pc as HookErrorOutcome, Pi as primaryKey, Pl as ExpressionWithOutput, Pn as allowAll, Po as ColumnCodec, Pr as SchemaRenderOptions, Ps as uuid, Pu as ResultMeta, Q as NamedCastTarget, Qa as SqlFragment, Qc as QubuStreamingExplainableClient, Qi as SourceIndex, Ql as AggregateDependenciesOf, Qn as RecursiveCteSource, Qs as MysqlIdentityExtension, Qt as nullsFirst, Qu as SqlJson, Ra as rowNumber, Rc as HookOperationKind, Rn as returning, Rs as ColumnDefault, Rt as Table, Ru as WindowMeta, Sa as ClausePlacement, Sc as DriverValueEncoder, Si as SourceConstraint, Sl as QueryValidationIssue, Sn as UpdateAssignments, So as isNull, Sr as SelectionOutput, St as Source, Su as ProvidesOuterOf, Ta as divide, Tc as ExecutionResult, Ti as SqliteConstraintExtension, Tn as MutationClause, Tr as SchemaDialect, Ts as integer, Tt as SourceConstraints, Tu as QueryCardinality, U as DialectCastTypes, Ua as call, Uc as HookTransactionOperation, Ui as QueryAliasIdentity, Ul as ResultDecoder, Un as ClauseScope, Uo as ColumnInsertInput, Ur as Schema, Us as ExternalDefaultDescriptor, Uu as AnySqlType, V as Dialect, Va as lower, Vc as HookStreamEnd, Vi as LateralIdentity, Vl as DecodableResultType, Vn as AvailableOuterScope, Vo as ColumnHasRuntimeDefault, Vs as ExpressionDefaultDescriptor, Vt as TableIdentity, W as DialectExplain, Wa as schemaCall, Wc as OperationEndHook, Wi as QuerySource, Wl as ResultDecoders, Wn as GroupingValidation, Wo as ColumnIsGenerated, Wr as SchemaDiagnostic, Ws as ExternalGeneratedColumnDescriptor, Wu as SqlBigInt, X as ExplainRenderOptions, Xa as min, Xc as QubuOptions, Xi as MysqlIndexExtension, Xl as jsonTextResultDecoder, Xn as SelectQuery, Xo as ColumnStorage, Xr as SchemaTableRegistry, Xs as IdentityGeneration, Xt as asc, Xu as SqlEqualityCompatible, Y as ExplainFormat, Ya as max, Yc as QubuHooks, Yi as IndexTerm, Yl as dateResultDecoder, Yn as SelectCardinality, Yo as ColumnSqlType, Yr as SchemaTableRecord, Ys as IdentityDialectExtension, Yt as OrderTerm, Yu as SqlEqualityComparable, Z as JsonScalarKind, Za as sum, Zc as QubuStreamingClient, Zi as PostgresIndexExtension, Zl as timestampResultDecoder, Zn as CteSource, Zo as ColumnStorageDeclarationOf, Zs as LiteralDefaultDescriptor, Zt as desc, Zu as SqlInteger, _a as fetchNext, _i as KeyConstraint, _l as RenderedQuery, _o as notLike, _r as FromScope, _t as AnySource, _u as MetadataOf, aa as and, ac as generatedColumn, ad as SqlTimestamp, ai as CheckConstraint, al as StreamableQuery, an as InsertSource, ao as notExists, ar as except, at as SchemaLiteralRenderer, au as DependenciesOf, ba as distinct, bi as PostgresConstraintExtension, bl as QueryValidationError, bo as notIn, br as Selection, bs as boolean, bt as ProvidedSourceIdentity, bu as NullableSourcesOf, ca as Omit, cc as SchemaDialectExtension, cd as SqlUuid, ci as ConstraintOptions, cl as TransactionOptions, cn as insertInto, co as eq, cr as unionAll, cu as FragmentMeta, da as omit, di as FieldLikeOptions, dl as executeRows, do as isDistinctFrom, dr as innerJoin, dt as QueryConfig, du as GroupingMeta, ea as SqliteIndexExtension, ec as SchemaLiteralValue, ed as SqlOrderCompatible, ei as schema, el as QubuStreamingTransactionalClient, en as order, eo as TypedSqlTag, er as cte, es as ColumnStorageKindOf, et as PaginationPart, eu as AnyFragment, fa as where, fc as SchemaObjectIdentity, fi as ForeignKeyConstraint, fl as explain, fo as isNotDistinctFrom, fr as leftJoin, ft as QueryKind, fu as HasAggregate, ga as fetchFirst, gi as ForeignKeyTargetInput, gl as RenderOptions, go as ne, gr as FromClause, gt as Row, gu as InheritedMetadataOf, ha as rowLock, hi as ForeignKeyTarget, ho as lte, hr as groupBy, ht as QueryWithRow, hu as InheritedMetadata, ia as DeclaredColumnNullability, ic as externalGeneratedColumn, id as SqlTextLike, ii as CatalogCheckSql, il as QueryExecutor, in as InsertSelectSource, io as inQuery, ir as SetQuery, is as ColumnUpdateInput, it as RowLockWaitPolicy, iu as CardinalityOf, ja as jsonExists, jc as ExplainRequest, ji as catalogForeignKey, jl as ExpressionOutput, jn as MutationRow, jo as mapResult, jr as SchemaExpressionInput, js as portableStorage, ju as RequiresOuterOf, ka as JsonPath, kc as ExplainPlanRow, ki as UniqueNullSemantics, kl as ExpressionKind, kn as MutationReturning, ks as nullable, kt as SourceRow, ku as RequiresOf, la as OmittableSelectClause, lc as SchemaDialectName, li as ConstraintTiming, ll as TransactionalQueryAdapter, ln as insertSelect, lo as gt, lr as crossJoin, ls as PortableColumnStorage, lt as AnyQuery, lu as GroupingDependenciesOf, ma as RowLockOptions, mi as ForeignKeyOptions, ml as stream, mo as lt, mr as rightJoin, mt as QuerySqlTypeMap, mu as HasWindow, na as index, nd as SqlSemanticType, ni as AnyKeyColumn, nl as QubuTransactionalClient, nn as deleteFrom, no as caseWhen, nr as withCte, nt as PortableCastType, nu as CapabilityMetadataOf, oa as not, oc as identityColumn, od as SqlTypeSatisfies, oi as CheckConstraintOptions, ol as StreamingQueryAdapter, on as ValuesSource, oo as scalar, or as intersect, os as NativeColumnStorage, ou as ExpressionMeta, pa as RowLockClause, pc as SchemaObjectNameOptions, pi as ForeignKeyMatch, pl as qubu, po as like, pr as naturalJoin, pt as QueryRow, pu as HasSubquery, q as DialectPagination, qa as count, qc as QubuExplainableStreamingTransactionalClient, qi as IndexDialectExtension, ql as ResultShape, qn as RequiredScope, qo as ColumnOptions, qr as SchemaTableEntry, qs as GeneratedDescriptor, qt as TableUpdateInput, qu as SqlDate, rc as externalDefault, rd as SqlText, ri as CatalogCheckExpression, rl as QueryAdapter, rn as DefaultValuesSource, ro as exists, rr as SetOperator, rs as ColumnStorageTypeOf, rt as RowLockMode, ru as CardinalityMeta, sa as or, sd as SqlUnknown, si as ConstraintDialectExtension, sl as StreamingTransactionalQueryAdapter, sn as defaultValues, sr as union, su as Fragment, ta as TableIndex, tc as SqliteIdentityExtension, td as SqlOrderable, tl as QubuTransaction, tn as orderBy, to as sql, tr as recursiveCte, ts as ColumnStorageOf, tt as PortableCastTarget, tu as CapabilitiesOf, ua as SelectPart, uc as SchemaMetadataDiagnostic, ui as FieldLike, ul as execute, un as values, uo as gte, ur as fullJoin, ut as Query, uu as GroupingKeysOf, va as offset, vi as KeyConstraintOptions, vl as render, vo as between, vr as FromSource, vs as bigint, vu as NullabilityOf, wa as add, wc as ExecutionRequest, wi as SourceLike, wl as ColumnReference, wn as AllowAllClause, wr as all, wt as SourceConfig, wu as ProvidesSourceMeta, xa as AnySelectClause, xc as AdapterExecutionResult, xi as ReferentialAction, xl as QueryValidationErrorCode, xn as UpdateAssignmentValue, xo as isNotNull, xr as SelectionObject, xs as column, xt as ProvidedSourceRow, xu as OutputOf, ya as having, yi as MysqlConstraintExtension, yl as QueryTypeValidation, yo as inList, yr as from, ys as binary, yu as NullableSourceMeta, za as coalesce, zc as HookOutcome, zi as AliasIdentity, zn as correlate, zo as ColumnGeneratedOf, zs as ColumnDefaultInput, zt as TableColumns } from "./types-C0VkiwpR.mjs";
2
- export { type AdapterExecutionResult, type AggregateDependenciesOf, type AggregateMeta, type AliasIdentity, type AliasedSource, type AllowAllClause, type AnyExpression, type AnyFragment, type AnyKeyColumn, type AnyQuery, type AnySchemaExpression, type AnySelectClause, type AnySource, type AnySqlType, type AnyTable, type AvailableOuterScope, type AvailableScope, type CanonicalLiteral, type CapabilitiesOf, type CapabilityMetadataOf, type CardinalityMeta, type CardinalityOf, type CastTarget, type CatalogCheckExpression, type CatalogCheckSql, type CheckConstraint, type CheckConstraintOptions, type ClausePlacement, type ClauseScope, type ColumnBehaviorError, type ColumnBehaviorErrorCode, type ColumnCodec, type ColumnDefault, type ColumnDefaultInput, type ColumnDefaultOf, type ColumnDefinition, type ColumnDefinitionConfig, type ColumnDependency, type ColumnGeneratedOf, type ColumnHasDefault, type ColumnHasRuntimeDefault, type ColumnIdentityOf, type ColumnInsertInput, type ColumnIsGenerated, type ColumnOnUpdateOf, type ColumnOptions, type ColumnOutput, type ColumnReference, type ColumnSqlType, type ColumnStorage, type ColumnStorageDeclarationOf, type ColumnStorageDialectOf, type ColumnStorageKindOf, type ColumnStorageOf, type ColumnStorageTypeOf, type ColumnUpdateInput, type ConstraintDialectExtension, type ConstraintOptions, type ConstraintTiming, type CteSource, type DeclaredColumnNullability, type DecodableResultType, type DefaultDescriptor, type DefaultValuesSource, type DependenciesOf, type Dialect, type DialectCapability, type DialectCastTypes, type DialectExplain, type DialectJson, type DialectOptions, type DialectPagination, type DialectRowLocking, type DriverValueEncoder, type ExecutionOptions, type ExecutionRequest, type ExecutionResult, type ExplainFormat, type ExplainMutationOptions, type ExplainOptions, type ExplainOptionsFor, type ExplainPlanRow, type ExplainReadOptions, type ExplainRenderOptions, type ExplainRequest, type ExplainResult, type ExplainableQueryAdapter, type Expression, type ExpressionDefaultDescriptor, type ExpressionGeneratedColumnDescriptor, type ExpressionKind, type ExpressionMeta, type ExpressionNullability, type ExpressionOutput, type ExpressionRequires, type ExpressionSqlType, type ExpressionWithOutput, type ExternalDefaultDescriptor, type ExternalGeneratedColumnDescriptor, type FieldLike, type FieldLikeOptions, type ForeignKeyConstraint, type ForeignKeyMatch, type ForeignKeyOptions, type ForeignKeyTarget, type ForeignKeyTargetInput, type Fragment, type FragmentMeta, type FromClause, type FromScope, type FromSource, type GeneratedColumnDescriptor, type GeneratedColumnMode, type GeneratedDescriptor, type GroupingDependenciesOf, type GroupingKeysOf, type GroupingMeta, type GroupingValidation, type HasAggregate, type HasSubquery, type HasWindow, type HookErrorOutcome, type HookMetadata, type HookMetadataValue, type HookOperation, type HookOperationKind, type HookOutcome, type HookQueryOperation, type HookStreamEnd, type HookSuccessOutcome, type HookTransactionOperation, type IdentityDescriptor, type IdentityDialectExtension, type IdentityGeneration, type IndexDialectExtension, type IndexOptions, type IndexTerm, type InheritedMetadata, type InheritedMetadataOf, type InsertSelectSource, type InsertSource, type JsonPath, type JsonScalarKind, type KeyConstraint, type KeyConstraintOptions, type LateralIdentity, type LateralSource, type LiteralDefaultDescriptor, type MetadataOf, type MissingScope, type MutationClause, type MutationKind, type MutationQuery, type MutationQueryConfig, type MutationReturning, type MutationReturningClause, type MutationRow, type MutationScopeValidation, type MutationSqlTypes, type MysqlConstraintExtension, type MysqlIdentityExtension, type MysqlIndexExtension, type NamedCastTarget, type NativeColumnStorage, type NullabilityOf, type NullableSourceMeta, type NullableSourcesOf, type Omit, type OmittableSelectClause, type OperationEndHook, type OrderTerm, type OutputOf, type PaginationKind, type PaginationPart, type PortableCastTarget, type PortableCastType, type PortableColumnStorage, type PostgresConstraintExtension, type PostgresIndexExtension, type ProvidedSourceIdentity, type ProvidedSourceRow, type ProvidesOuterOf, type ProvidesOuterSourceMeta, type ProvidesSourceMeta, type QubuClient, type QubuExplainableClient, type QubuExplainableStreamingTransactionalClient, type QubuExplainableTransactionalClient, type QubuHooks, type QubuOptions, type QubuStreamingClient, type QubuStreamingExplainableClient, type QubuStreamingTransaction, type QubuStreamingTransactionalClient, type QubuTransaction, type QubuTransactionalClient, type Query, type QueryAdapter, type QueryAliasIdentity, type QueryCardinality, type QueryConfig, type QueryExecutor, type QueryKind, type QueryRow, type QuerySource, type QuerySqlTypeMap, type QueryTypeValidation, QueryValidationError, type QueryValidationErrorCode, type QueryValidationIssue, type QueryWithRow, type RecursiveCteSource, type ReferentialAction, type RenderContext, type RenderFunction, type RenderOptions, type RenderedQuery, type RenderedSchemaExpression, type RequiredOuterScope, type RequiredScope, type RequiresCapabilityMeta, type RequiresOf, type RequiresOuterMetadataOf, type RequiresOuterOf, type RequiresOuterSourceMeta, type RequiresSourceMeta, type ResolvedColumnBehavior, type ResultDecodeContext, type ResultDecoder, type ResultDecoders, ResultDecodingError, type ResultField, type ResultMeta, type ResultShape, type ReturningClause, type ReturningRow, type ReturningSqlTypes, type Row, type RowLockClause, type RowLockMode, type RowLockOptions, type RowLockWaitPolicy, type Schema, type SchemaDiagnostic, type SchemaDialect, type SchemaDialectExtension, type SchemaDialectHooks, type SchemaDialectName, type SchemaExpression, type SchemaExpressionBrand, type SchemaExpressionErrorCode, type SchemaExpressionInput, type SchemaExpressionMode, type SchemaLiteralRenderer, type SchemaLiteralValue, type SchemaMetadataDiagnostic, type SchemaNamingPolicy, type SchemaObjectIdentity, type SchemaObjectNameOptions, type SchemaOptions, type SchemaRenderContext, type SchemaRenderOptions, type SchemaTableEntry, type SchemaTableNames, type SchemaTableRecord, type SchemaTableRegistry, type ScopeValidation, type SelectCardinality, type SelectClause, type SelectPart, type SelectQuery, type Selection, type SelectionObject, type SelectionOutput, type SelectionSqlTypes, type SetOperator, type SetQuery, type Source, type SourceColumns, type SourceConfig, type SourceConstraint, type SourceConstraints, type SourceConstraintsRecord, type SourceIdentity, type SourceIndex, type SourceIndexesRecord, type SourceKind, type SourceLike, type SourceProvision, type SourceRow, type SourceSqlTypeMap, type SqlBigInt, type SqlBinary, type SqlBoolean, type SqlDate, type SqlDecimal, type SqlEqualityComparable, type SqlEqualityCompatible, type SqlFragment, type SqlInteger, type SqlJson, type SqlNumericLike, type SqlOrderCompatible, type SqlOrderable, type SqlSemanticType, type SqlTag, type SqlText, type SqlTextLike, type SqlTimestamp, type SqlTypeOf, type SqlTypeSatisfies, type SqlUnknown, type SqlUuid, type SqliteConstraintExtension, type SqliteIdentityExtension, type SqliteIndexExtension, type StreamableQuery, type StreamingQueryAdapter, type StreamingTransactionalQueryAdapter, type SubqueryMeta, type Table, type TableColumns, type TableDefinitions, type TableIdentity, type TableIndex, type TableInsertInput, type TableLike, type TableRow, type TableSqlTypes, type TableUpdateInput, type TransactionOptions, type TransactionalQueryAdapter, type TypedSqlTag, type UniqueConstraint, type UniqueConstraintOptions, type UniqueNullSemantics, type UnsafeSchemaSqlExpression, type UpdateAssignmentValue, type UpdateAssignments, type ValuesSource, type VisibleDependenciesOf, type WindowMeta, type WithClause, add, alias, all, allowAll, and, asValue, asc, avg, between, bigint, binary, boolean, booleanResultDecoder, call, caseWhen, cast, catalogCheck, catalogForeignKey, check, coalesce, column, concat, correlate, count, countDistinct, crossJoin, cte, date, dateResultDecoder, defaultValues, deleteFrom, denseRank, desc, distinct, divide, eq, except, execute, executeRows, exists, explain, externalDefault, externalGeneratedColumn, fetchFirst, fetchNext, foreignKey, from, fullJoin, generatedColumn, groupBy, gt, gte, having, identityColumn, inList, inQuery, index, innerJoin, insertInto, insertSelect, integer, intersect, isDistinctFrom, isNotDistinctFrom, isNotNull, isNull, isTrue, json, jsonBoolean, jsonExists, jsonNumber, jsonPath, jsonText, jsonTextResultDecoder, lateral, leftJoin, like, lower, lt, lte, mapResult, max, min, modulo, multiply, nativeColumn, nativeStorage, naturalJoin, ne, not, notExists, notIn, notLike, nullable, nullsFirst, nullsLast, numeric, offset, omit, or, order, orderBy, over, portableStorage, primaryKey, qubu, rank, recursiveCte, references, render, returning, rightJoin, rowLock, rowNumber, scalar, schema, schemaCall, select, sql, stream, subtract, sum, table, text, timestamp, timestampResultDecoder, union, unionAll, unique, uniqueConstraint, unsafeSchemaSql, update, upper, uuid, value, values, where, withCte };
1
+ import { $a as IndexDialectExtension, $c as GeneratedColumnDescriptor, $i as SchemaTableEntry, $l as HookTransactionOperation, $n as DefaultValuesSource, $o as avg, $r as RequiredScope, $s as ColumnOnUpdateOf, $u as ResultDecodeContext, Aa as SourceLike, Ad as MetadataOf, Ai as all, Ao as SelectClause, Ar as AllowAllClause, As as isTrue, Au as QueryTypeValidation, Ba as primaryKey, Bc as text, Bd as RenderFunction, Bi as SchemaRenderOptions, Bl as ExplainReadOptions, Bn as TableSqlTypes, Bo as jsonPath, Br as allowAll, Bt as DialectPagination, Bu as ExpressionKind, Ca as KeyConstraint, Cd as GroupingKeysOf, Ci as FromScope, Cl as SchemaObjectNameOptions, Cn as SourceRow, Co as fetchFirst, Cs as ne, Cu as explain, Da as ReferentialAction, Dc as boolean, Dd as HasWindow, Di as SelectionObject, Do as distinct, Ds as notIn, Du as RenderOptions, Ea as PostgresConstraintExtension, Ec as binary, Ed as HasSubquery, Ei as Selection, Eo as having, Er as update, Es as inList, Fa as UniqueNullSemantics, Fc as nativeColumn, Fd as ProvidesOuterOf, Fl as ExecutionResult, Fn as TableIdentity, Fo as subtract, Fr as MutationReturning, Fs as asValue, Ft as DialectCapability, Fu as ColumnReference, Ga as AliasIdentity, Gc as ColumnBehaviorErrorCode, Gd as RequiresOuterSourceMeta, Gl as HookMetadata, Gn as desc, Go as rowNumber, Gr as correlate, Gt as NamedCastTarget, Gu as ExpressionWithOutput, Ha as unique, Hc as uuid, Hd as RequiresOf, Hl as ExplainResult, Hn as table, Ho as denseRank, Hr as ReturningRow, Hs as ColumnDefaultOf, Ht as ExplainFormat, Hu as ExpressionOutput, Ia as catalogCheck, Ic as nativeStorage, Id as ProvidesOuterSourceMeta, Ii as SchemaExpressionErrorCode, Il as ExplainMutationOptions, In as TableInsertInput, Io as JsonPath, Ir as MutationReturningClause, It as DialectCastTypes, Ja as LateralSource, Jc as DefaultDescriptor, Jd as SqlTypeOf, Ji as unsafeSchemaSql, Jl as HookOperationKind, Jn as order, Jo as lower, Jr as AvailableScope, Js as ColumnHasRuntimeDefault, Jt as PortableCastTarget, Ka as AliasedSource, Kc as ColumnDefault, Kd as RequiresSourceMeta, Kl as HookMetadataValue, Kn as nullsFirst, Ko as coalesce, Kr as select, Ks as ColumnGeneratedOf, Kt as PaginationKind, Ku as SchemaExpression, La as catalogForeignKey, Lc as nullable, Ld as ProvidesSourceMeta, Li as SchemaExpressionInput, Ll as ExplainOptions, Lo as jsonBoolean, Lr as MutationRow, Ls as value, Lt as DialectExplain, Lu as AnyExpression, Ma as TableLike, Md as NullableSourceMeta, Mi as SchemaDialectHooks, Ml as DriverValueEncoder, Mn as Table, Mo as divide, Mr as MutationKind, Mu as QueryValidationErrorCode, Na as UniqueConstraint, Nc as integer, Nd as NullableSourcesOf, Nl as ExecutionOptions, Nn as TableColumns, No as modulo, Nr as MutationQuery, Nt as CastTarget, Nu as QueryValidationIssue, Oa as SourceConstraint, Oc as column, Od as InheritedMetadata, Oi as SelectionOutput, Oo as AnySelectClause, Os as isNotNull, Ou as RenderedQuery, Pa as UniqueConstraintOptions, Pc as json, Pd as OutputOf, Pi as RenderedSchemaExpression, Pl as ExecutionRequest, Pn as TableDefinitions, Po as multiply, Pr as MutationQueryConfig, Pt as Dialect, Pu as ColumnDependency, Qa as lateral, Qc as ExternalGeneratedColumnDescriptor, Qi as SchemaOptions, Ql as HookSuccessOutcome, Qn as deleteFrom, Qr as RequiredOuterScope, Qt as SchemaLiteralRenderer, Qu as DecodableResultType, Ra as check, Rc as numeric, Rd as QueryCardinality, Ri as SchemaExpressionMode, Rl as ExplainOptionsFor, Ro as jsonExists, Rr as MutationScopeValidation, Rs as mapResult, Rt as DialectJson, Ru as AnySchemaExpression, Sa as ForeignKeyTargetInput, Sd as GroupingDependenciesOf, Sf as SqlUuid, Si as FromClause, Sl as SchemaObjectIdentity, Sn as SourceProvision, So as rowLock, Ss as lte, Su as executeRows, Ta as MysqlConstraintExtension, Tc as bigint, Td as HasAggregate, Ti as from, To as offset, Tr as UpdateAssignments, Ts as between, Tu as stream, Ua as uniqueConstraint, Uc as CanonicalLiteral, Ud as RequiresOuterMetadataOf, Ul as ExplainableQueryAdapter, Un as OrderTerm, Uo as over, Ur as ReturningSqlTypes, Us as ColumnDefinition, Ut as ExplainRenderOptions, Uu as ExpressionRequires, Va as references, Vc as timestamp, Vd as RequiresCapabilityMeta, Vi as UnsafeSchemaSqlExpression, Vl as ExplainRequest, Vn as TableUpdateInput, Vo as jsonText, Vr as ReturningClause, Vs as ColumnCodec, Vt as DialectRowLocking, Vu as ExpressionNullability, Wc as ColumnBehaviorError, Wd as RequiresOuterOf, Wl as HookErrorOutcome, Wn as asc, Wo as rank, Wr as returning, Ws as ColumnDefinitionConfig, Wt as JsonScalarKind, Wu as ExpressionSqlType, Xa as QuerySource, Xc as ExpressionGeneratedColumnDescriptor, Xd as VisibleDependenciesOf, Xi as SchemaDiagnostic, Xl as HookQueryOperation, Xn as jsonArrayFrom, Xo as call, Xr as GroupingValidation, Xs as ColumnInsertInput, Xt as RowLockMode, Ya as QueryAliasIdentity, Yc as ExpressionDefaultDescriptor, Yd as SubqueryMeta, Yi as Schema, Yl as HookOutcome, Yn as orderBy, Yo as upper, Yr as ClauseScope, Ys as ColumnIdentityOf, Yt as PortableCastType, Za as alias, Zc as ExternalDefaultDescriptor, Zd as WindowMeta, Zi as SchemaNamingPolicy, Zl as HookStreamEnd, Zn as jsonObjectFrom, Zo as schemaCall, Zr as MissingScope, Zs as ColumnIsGenerated, Zt as RowLockWaitPolicy, _a as FieldLikeOptions, _d as CardinalityOf, _f as SqlTextLike, _i as innerJoin, _n as SourceColumns, _o as SelectPart, _s as gte, _u as StreamingQueryAdapter, ad as bigintResultDecoder, af as SqlBoolean, ai as WithClause, al as IdentityOptionValue, an as QueryConfig, ao as SourceIndex, ar as defaultValues, as as SqlFragment, au as QubuExplainableTransactionalClient, ba as ForeignKeyOptions, bd as Fragment, bf as SqlTypeSatisfies, bi as rightJoin, bl as SchemaMetadataDiagnostic, bn as SourceIdentity, bo as RowLockClause, bs as like, bu as TransactionalQueryAdapter, ca as AnyKeyColumn, cc as ColumnStorageOf, cd as jsonTextResultDecoder, cf as SqlEqualityComparable, ci as withCte, cl as MysqlIdentityExtension, cn as QuerySqlTypeMap, co as TableIndex, cr as values, cs as sql, cu as QubuStreamingClient, da as CheckConstraint, dc as ColumnUpdateInput, dd as AggregateDependenciesOf, df as SqlJson, di as except, dl as SqliteIdentityExtension, dn as AnySource, do as DeclaredColumnNullability, ds as inQuery, du as QubuStreamingTransactionalClient, ea as SchemaTableNames, ec as ColumnOptions, ed as ResultDecoder, ei as ScopeValidation, el as GeneratedColumnMode, eo as IndexOptions, er as InsertSelectSource, es as count, eu as NestedTransactionalQueryAdapter, fa as CheckConstraintOptions, fd as AggregateMeta, ff as SqlNumericLike, fi as intersect, fo as and, fs as notExists, fu as QubuTransaction, ga as FieldLike, gc as PortableColumnStorage, gd as CardinalityMeta, gf as SqlText, gi as fullJoin, gl as identityColumn, gn as Source, go as OmittableSelectClause, gs as gt, gu as StreamableQuery, ha as ConstraintTiming, hd as CapabilityMetadataOf, hf as SqlSemanticType, hi as crossJoin, hl as generatedColumn, hn as ProvidedSourceRow, ho as Omit, hs as eq, hu as QueryExecutor, ic as ColumnStorageDeclarationOf, id as ResultShape, if as SqlBinary, ii as RecursiveCteSource, il as IdentityGeneration, in as Query, io as PostgresIndexExtension, ir as ValuesSource, is as sum, iu as QubuExplainableStreamingTransactionalClient, ja as SqliteConstraintExtension, jc as date, jd as NullabilityOf, ji as SchemaDialect, jl as AdapterExecutionResult, jn as AnyTable, jo as add, jr as MutationClause, ju as QueryValidationError, ka as SourceConstraintsRecord, kd as InheritedMetadataOf, ki as SelectionSqlTypes, ko as ClausePlacement, ks as isNull, ku as render, la as CatalogCheckExpression, lf as SqlEqualityCompatible, li as SetOperator, ll as ResolvedColumnBehavior, ln as QueryWithRow, lo as index, ls as caseWhen, lu as QubuStreamingExplainableClient, ma as ConstraintOptions, md as CapabilitiesOf, mf as SqlOrderable, mi as unionAll, ml as externalGeneratedColumn, mn as ProvidedSourceIdentity, mo as or, mu as QueryAdapter, na as SchemaTableRegistry, nc as ColumnSqlType, nd as ResultDecodingError, nf as AnySqlType, ni as SelectQuery, nl as IdentityDescriptor, no as IndexTermOptions, nr as InsertValue, ns as max, nu as QubuClient, oa as schema, oc as ColumnStorageDialectOf, od as booleanResultDecoder, of as SqlDate, oi as cte, ol as IdentityOptions, on as QueryKind, oo as SourceIndexesRecord, or as insertInto, os as SqlTag, ou as QubuHooks, pa as ConstraintDialectExtension, pc as NativeColumnStorage, pd as AnyFragment, pf as SqlOrderCompatible, pi as union, pl as externalDefault, po as not, ps as scalar, pu as QubuTransactionalClient, qa as LateralIdentity, qc as ColumnDefaultInput, qd as ResultMeta, ql as HookOperation, qn as nullsLast, qo as concat, qr as AvailableOuterScope, qs as ColumnHasDefault, qt as PaginationPart, qu as SchemaExpressionBrand, rc as ColumnStorage, rd as ResultField, rf as SqlBigInt, ri as CteSource, rl as IdentityDialectExtension, rn as AnyQuery, ro as MysqlIndexExtension, rr as InsertValuesRow, rs as min, ru as QubuExplainableClient, sc as ColumnStorageKindOf, sd as dateResultDecoder, sf as SqlDecimal, si as recursiveCte, sl as LiteralDefaultDescriptor, sn as QueryRow, so as SqliteIndexExtension, sr as insertSelect, ss as TypedSqlTag, su as QubuOptions, ta as SchemaTableRecord, tc as ColumnOutput, td as ResultDecoders, ti as SelectCardinality, tl as GeneratedDescriptor, to as IndexTerm, tr as InsertSource, ts as countDistinct, tu as OperationEndHook, ua as CatalogCheckSql, uc as ColumnStorageTypeOf, ud as timestampResultDecoder, uf as SqlInteger, ui as SetQuery, ul as SchemaLiteralValue, un as Row, us as exists, uu as QubuStreamingTransaction, va as ForeignKeyConstraint, vd as DependenciesOf, vf as SqlTimestamp, vi as leftJoin, vl as SchemaDialectExtension, vn as SourceConfig, vo as omit, vs as isDistinctFrom, vu as StreamingTransactionalQueryAdapter, wa as KeyConstraintOptions, wd as GroupingMeta, wi as FromSource, wn as SourceSqlTypeMap, wo as fetchNext, wr as UpdateAssignmentValue, ws as notLike, wu as qubu, xa as ForeignKeyTarget, xd as FragmentMeta, xf as SqlUnknown, xi as groupBy, xn as SourceKind, xo as RowLockOptions, xs as lt, xu as execute, ya as ForeignKeyMatch, yd as ExpressionMeta, yf as SqlTypeName, yi as naturalJoin, yl as SchemaDialectName, yn as SourceConstraints, yo as where, ys as isNotDistinctFrom, yu as TransactionOptions, za as foreignKey, zc as portableStorage, zd as RenderContext, zi as SchemaRenderContext, zl as ExplainPlanRow, zn as TableRow, zo as jsonNumber, zr as MutationSqlTypes, zs as cast, zt as DialectOptions, zu as Expression } from "./types-Dqr4o2I1.mjs";
2
+ export { type AdapterExecutionResult, type AggregateDependenciesOf, type AggregateMeta, type AliasIdentity, type AliasedSource, type AllowAllClause, type AnyExpression, type AnyFragment, type AnyKeyColumn, type AnyQuery, type AnySchemaExpression, type AnySelectClause, type AnySource, type AnySqlType, type AnyTable, type AvailableOuterScope, type AvailableScope, type CanonicalLiteral, type CapabilitiesOf, type CapabilityMetadataOf, type CardinalityMeta, type CardinalityOf, type CastTarget, type CatalogCheckExpression, type CatalogCheckSql, type CheckConstraint, type CheckConstraintOptions, type ClausePlacement, type ClauseScope, type ColumnBehaviorError, type ColumnBehaviorErrorCode, type ColumnCodec, type ColumnDefault, type ColumnDefaultInput, type ColumnDefaultOf, type ColumnDefinition, type ColumnDefinitionConfig, type ColumnDependency, type ColumnGeneratedOf, type ColumnHasDefault, type ColumnHasRuntimeDefault, type ColumnIdentityOf, type ColumnInsertInput, type ColumnIsGenerated, type ColumnOnUpdateOf, type ColumnOptions, type ColumnOutput, type ColumnReference, type ColumnSqlType, type ColumnStorage, type ColumnStorageDeclarationOf, type ColumnStorageDialectOf, type ColumnStorageKindOf, type ColumnStorageOf, type ColumnStorageTypeOf, type ColumnUpdateInput, type ConstraintDialectExtension, type ConstraintOptions, type ConstraintTiming, type CteSource, type DeclaredColumnNullability, type DecodableResultType, type DefaultDescriptor, type DefaultValuesSource, type DependenciesOf, type Dialect, type DialectCapability, type DialectCastTypes, type DialectExplain, type DialectJson, type DialectOptions, type DialectPagination, type DialectRowLocking, type DriverValueEncoder, type ExecutionOptions, type ExecutionRequest, type ExecutionResult, type ExplainFormat, type ExplainMutationOptions, type ExplainOptions, type ExplainOptionsFor, type ExplainPlanRow, type ExplainReadOptions, type ExplainRenderOptions, type ExplainRequest, type ExplainResult, type ExplainableQueryAdapter, type Expression, type ExpressionDefaultDescriptor, type ExpressionGeneratedColumnDescriptor, type ExpressionKind, type ExpressionMeta, type ExpressionNullability, type ExpressionOutput, type ExpressionRequires, type ExpressionSqlType, type ExpressionWithOutput, type ExternalDefaultDescriptor, type ExternalGeneratedColumnDescriptor, type FieldLike, type FieldLikeOptions, type ForeignKeyConstraint, type ForeignKeyMatch, type ForeignKeyOptions, type ForeignKeyTarget, type ForeignKeyTargetInput, type Fragment, type FragmentMeta, type FromClause, type FromScope, type FromSource, type GeneratedColumnDescriptor, type GeneratedColumnMode, type GeneratedDescriptor, type GroupingDependenciesOf, type GroupingKeysOf, type GroupingMeta, type GroupingValidation, type HasAggregate, type HasSubquery, type HasWindow, type HookErrorOutcome, type HookMetadata, type HookMetadataValue, type HookOperation, type HookOperationKind, type HookOutcome, type HookQueryOperation, type HookStreamEnd, type HookSuccessOutcome, type HookTransactionOperation, type IdentityDescriptor, type IdentityDialectExtension, type IdentityGeneration, type IdentityOptionValue, type IdentityOptions, type IndexDialectExtension, type IndexOptions, type IndexTerm, type IndexTermOptions, type InheritedMetadata, type InheritedMetadataOf, type InsertSelectSource, type InsertSource, type InsertValue, type InsertValuesRow, type JsonPath, type JsonScalarKind, type KeyConstraint, type KeyConstraintOptions, type LateralIdentity, type LateralSource, type LiteralDefaultDescriptor, type MetadataOf, type MissingScope, type MutationClause, type MutationKind, type MutationQuery, type MutationQueryConfig, type MutationReturning, type MutationReturningClause, type MutationRow, type MutationScopeValidation, type MutationSqlTypes, type MysqlConstraintExtension, type MysqlIdentityExtension, type MysqlIndexExtension, type NamedCastTarget, type NativeColumnStorage, type NestedTransactionalQueryAdapter, type NullabilityOf, type NullableSourceMeta, type NullableSourcesOf, type Omit, type OmittableSelectClause, type OperationEndHook, type OrderTerm, type OutputOf, type PaginationKind, type PaginationPart, type PortableCastTarget, type PortableCastType, type PortableColumnStorage, type PostgresConstraintExtension, type PostgresIndexExtension, type ProvidedSourceIdentity, type ProvidedSourceRow, type ProvidesOuterOf, type ProvidesOuterSourceMeta, type ProvidesSourceMeta, type QubuClient, type QubuExplainableClient, type QubuExplainableStreamingTransactionalClient, type QubuExplainableTransactionalClient, type QubuHooks, type QubuOptions, type QubuStreamingClient, type QubuStreamingExplainableClient, type QubuStreamingTransaction, type QubuStreamingTransactionalClient, type QubuTransaction, type QubuTransactionalClient, type Query, type QueryAdapter, type QueryAliasIdentity, type QueryCardinality, type QueryConfig, type QueryExecutor, type QueryKind, type QueryRow, type QuerySource, type QuerySqlTypeMap, type QueryTypeValidation, QueryValidationError, type QueryValidationErrorCode, type QueryValidationIssue, type QueryWithRow, type RecursiveCteSource, type ReferentialAction, type RenderContext, type RenderFunction, type RenderOptions, type RenderedQuery, type RenderedSchemaExpression, type RequiredOuterScope, type RequiredScope, type RequiresCapabilityMeta, type RequiresOf, type RequiresOuterMetadataOf, type RequiresOuterOf, type RequiresOuterSourceMeta, type RequiresSourceMeta, type ResolvedColumnBehavior, type ResultDecodeContext, type ResultDecoder, type ResultDecoders, ResultDecodingError, type ResultField, type ResultMeta, type ResultShape, type ReturningClause, type ReturningRow, type ReturningSqlTypes, type Row, type RowLockClause, type RowLockMode, type RowLockOptions, type RowLockWaitPolicy, type Schema, type SchemaDiagnostic, type SchemaDialect, type SchemaDialectExtension, type SchemaDialectHooks, type SchemaDialectName, type SchemaExpression, type SchemaExpressionBrand, type SchemaExpressionErrorCode, type SchemaExpressionInput, type SchemaExpressionMode, type SchemaLiteralRenderer, type SchemaLiteralValue, type SchemaMetadataDiagnostic, type SchemaNamingPolicy, type SchemaObjectIdentity, type SchemaObjectNameOptions, type SchemaOptions, type SchemaRenderContext, type SchemaRenderOptions, type SchemaTableEntry, type SchemaTableNames, type SchemaTableRecord, type SchemaTableRegistry, type ScopeValidation, type SelectCardinality, type SelectClause, type SelectPart, type SelectQuery, type Selection, type SelectionObject, type SelectionOutput, type SelectionSqlTypes, type SetOperator, type SetQuery, type Source, type SourceColumns, type SourceConfig, type SourceConstraint, type SourceConstraints, type SourceConstraintsRecord, type SourceIdentity, type SourceIndex, type SourceIndexesRecord, type SourceKind, type SourceLike, type SourceProvision, type SourceRow, type SourceSqlTypeMap, type SqlBigInt, type SqlBinary, type SqlBoolean, type SqlDate, type SqlDecimal, type SqlEqualityComparable, type SqlEqualityCompatible, type SqlFragment, type SqlInteger, type SqlJson, type SqlNumericLike, type SqlOrderCompatible, type SqlOrderable, type SqlSemanticType, type SqlTag, type SqlText, type SqlTextLike, type SqlTimestamp, type SqlTypeName, type SqlTypeOf, type SqlTypeSatisfies, type SqlUnknown, type SqlUuid, type SqliteConstraintExtension, type SqliteIdentityExtension, type SqliteIndexExtension, type StreamableQuery, type StreamingQueryAdapter, type StreamingTransactionalQueryAdapter, type SubqueryMeta, type Table, type TableColumns, type TableDefinitions, type TableIdentity, type TableIndex, type TableInsertInput, type TableLike, type TableRow, type TableSqlTypes, type TableUpdateInput, type TransactionOptions, type TransactionalQueryAdapter, type TypedSqlTag, type UniqueConstraint, type UniqueConstraintOptions, type UniqueNullSemantics, type UnsafeSchemaSqlExpression, type UpdateAssignmentValue, type UpdateAssignments, type ValuesSource, type VisibleDependenciesOf, type WindowMeta, type WithClause, add, alias, all, allowAll, and, asValue, asc, avg, between, bigint, bigintResultDecoder, binary, boolean, booleanResultDecoder, call, caseWhen, cast, catalogCheck, catalogForeignKey, check, coalesce, column, concat, correlate, count, countDistinct, crossJoin, cte, date, dateResultDecoder, defaultValues, deleteFrom, denseRank, desc, distinct, divide, eq, except, execute, executeRows, exists, explain, externalDefault, externalGeneratedColumn, fetchFirst, fetchNext, foreignKey, from, fullJoin, generatedColumn, groupBy, gt, gte, having, identityColumn, inList, inQuery, index, innerJoin, insertInto, insertSelect, integer, intersect, isDistinctFrom, isNotDistinctFrom, isNotNull, isNull, isTrue, json, jsonArrayFrom, jsonBoolean, jsonExists, jsonNumber, jsonObjectFrom, jsonPath, jsonText, jsonTextResultDecoder, lateral, leftJoin, like, lower, lt, lte, mapResult, max, min, modulo, multiply, nativeColumn, nativeStorage, naturalJoin, ne, not, notExists, notIn, notLike, nullable, nullsFirst, nullsLast, numeric, offset, omit, or, order, orderBy, over, portableStorage, primaryKey, qubu, rank, recursiveCte, references, render, returning, rightJoin, rowLock, rowNumber, scalar, schema, schemaCall, select, sql, stream, subtract, sum, table, text, timestamp, timestampResultDecoder, union, unionAll, unique, uniqueConstraint, unsafeSchemaSql, update, upper, uuid, value, values, where, withCte };