@simplysm/orm-common 13.0.83 → 13.0.84

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 (73) hide show
  1. package/dist/ddl/initialize.d.ts +2 -2
  2. package/dist/ddl/initialize.js +1 -1
  3. package/dist/ddl/initialize.js.map +1 -1
  4. package/dist/ddl/table-ddl.d.ts +1 -1
  5. package/dist/exec/queryable.d.ts +115 -115
  6. package/dist/exec/queryable.js +68 -68
  7. package/dist/exec/queryable.js.map +1 -1
  8. package/dist/expr/expr.d.ts +248 -248
  9. package/dist/expr/expr.js +250 -250
  10. package/dist/query-builder/base/expr-renderer-base.d.ts +7 -7
  11. package/dist/query-builder/mssql/mssql-expr-renderer.d.ts +3 -3
  12. package/dist/query-builder/mssql/mssql-expr-renderer.d.ts.map +1 -1
  13. package/dist/query-builder/mssql/mssql-expr-renderer.js +5 -5
  14. package/dist/query-builder/mssql/mssql-query-builder.d.ts +2 -2
  15. package/dist/query-builder/mssql/mssql-query-builder.d.ts.map +1 -1
  16. package/dist/query-builder/mssql/mssql-query-builder.js +7 -7
  17. package/dist/query-builder/mysql/mysql-expr-renderer.d.ts +2 -2
  18. package/dist/query-builder/mysql/mysql-expr-renderer.d.ts.map +1 -1
  19. package/dist/query-builder/mysql/mysql-expr-renderer.js +4 -4
  20. package/dist/query-builder/mysql/mysql-query-builder.d.ts +10 -10
  21. package/dist/query-builder/mysql/mysql-query-builder.d.ts.map +1 -1
  22. package/dist/query-builder/mysql/mysql-query-builder.js +4 -4
  23. package/dist/query-builder/postgresql/postgresql-expr-renderer.d.ts +2 -2
  24. package/dist/query-builder/postgresql/postgresql-expr-renderer.d.ts.map +1 -1
  25. package/dist/query-builder/postgresql/postgresql-expr-renderer.js +4 -4
  26. package/dist/query-builder/postgresql/postgresql-query-builder.d.ts +8 -8
  27. package/dist/query-builder/postgresql/postgresql-query-builder.d.ts.map +1 -1
  28. package/dist/query-builder/postgresql/postgresql-query-builder.js +7 -7
  29. package/dist/query-builder/query-builder.d.ts +1 -1
  30. package/dist/schema/factory/column-builder.d.ts +46 -46
  31. package/dist/schema/factory/column-builder.js +25 -25
  32. package/dist/schema/factory/index-builder.d.ts +22 -22
  33. package/dist/schema/factory/index-builder.js +14 -14
  34. package/dist/schema/factory/relation-builder.d.ts +93 -93
  35. package/dist/schema/factory/relation-builder.d.ts.map +1 -1
  36. package/dist/schema/factory/relation-builder.js +37 -37
  37. package/dist/schema/procedure-builder.d.ts +38 -38
  38. package/dist/schema/procedure-builder.d.ts.map +1 -1
  39. package/dist/schema/procedure-builder.js +26 -26
  40. package/dist/schema/table-builder.d.ts +38 -38
  41. package/dist/schema/table-builder.d.ts.map +1 -1
  42. package/dist/schema/table-builder.js +29 -29
  43. package/dist/schema/view-builder.d.ts +26 -26
  44. package/dist/schema/view-builder.d.ts.map +1 -1
  45. package/dist/schema/view-builder.js +18 -18
  46. package/dist/types/db.d.ts +40 -40
  47. package/dist/types/expr.d.ts +75 -75
  48. package/dist/types/expr.d.ts.map +1 -1
  49. package/dist/types/query-def.d.ts +32 -32
  50. package/dist/types/query-def.d.ts.map +1 -1
  51. package/package.json +2 -2
  52. package/src/ddl/initialize.ts +16 -16
  53. package/src/ddl/table-ddl.ts +1 -1
  54. package/src/exec/queryable.ts +163 -163
  55. package/src/expr/expr.ts +257 -257
  56. package/src/query-builder/base/expr-renderer-base.ts +8 -8
  57. package/src/query-builder/mssql/mssql-expr-renderer.ts +20 -20
  58. package/src/query-builder/mssql/mssql-query-builder.ts +28 -28
  59. package/src/query-builder/mysql/mysql-expr-renderer.ts +22 -22
  60. package/src/query-builder/mysql/mysql-query-builder.ts +65 -65
  61. package/src/query-builder/postgresql/postgresql-expr-renderer.ts +15 -15
  62. package/src/query-builder/postgresql/postgresql-query-builder.ts +43 -43
  63. package/src/query-builder/query-builder.ts +1 -1
  64. package/src/schema/factory/column-builder.ts +48 -48
  65. package/src/schema/factory/index-builder.ts +22 -22
  66. package/src/schema/factory/relation-builder.ts +95 -95
  67. package/src/schema/procedure-builder.ts +38 -38
  68. package/src/schema/table-builder.ts +38 -38
  69. package/src/schema/view-builder.ts +28 -28
  70. package/src/types/db.ts +41 -41
  71. package/src/types/expr.ts +79 -79
  72. package/src/types/query-def.ts +37 -37
  73. package/tests/ddl/basic.expected.ts +8 -8
@@ -1,24 +1,24 @@
1
1
  import type { ColumnPrimitive, DataType } from "./column";
2
2
  import type { SelectQueryDef } from "./query-def";
3
3
  /**
4
- * Date 연산 단위
4
+ * Date operation unit
5
5
  *
6
- * dateDiff, dateAdd 등 Date functionused in
6
+ * Used in Date functions like dateDiff, dateAdd, etc.
7
7
  */
8
8
  export type DateUnit = "year" | "month" | "day" | "hour" | "minute" | "second";
9
9
  /**
10
- * column 참조 expression
10
+ * Column reference expression
11
11
  *
12
- * @property path - Column 경로 (table별칭.column명 )
12
+ * @property path - Column path (e.g. tableAlias.columnName)
13
13
  */
14
14
  export interface ExprColumn {
15
15
  type: "column";
16
16
  path: string[];
17
17
  }
18
18
  /**
19
- * 리터럴 value expression
19
+ * Literal value expression
20
20
  *
21
- * @property value - Column 프리미티브 value
21
+ * @property value - Column primitive value
22
22
  */
23
23
  export interface ExprValue {
24
24
  type: "value";
@@ -27,15 +27,15 @@ export interface ExprValue {
27
27
  /**
28
28
  * Raw SQL expression
29
29
  *
30
- * @property sql - SQL 문자열 (파라미터는 {0}, {1}로 표시)
31
- * @property params - 파라미터 expression array
30
+ * @property sql - SQL string (parameters denoted as {0}, {1})
31
+ * @property params - Parameter expression array
32
32
  */
33
33
  export interface ExprRaw {
34
34
  type: "raw";
35
35
  sql: string;
36
36
  params: Expr[];
37
37
  }
38
- /** 동등 comparison (=) - NULL-safe */
38
+ /** Equality comparison (=) - NULL-safe */
39
39
  export interface ExprEq {
40
40
  type: "eq";
41
41
  source: Expr;
@@ -65,229 +65,229 @@ export interface ExprLte {
65
65
  source: Expr;
66
66
  target: Expr;
67
67
  }
68
- /** range comparison (BETWEEN from AND to) */
68
+ /** Range comparison (BETWEEN from AND to) */
69
69
  export interface ExprBetween {
70
70
  type: "between";
71
71
  source: Expr;
72
72
  from?: Expr;
73
73
  to?: Expr;
74
74
  }
75
- /** NULL 검사 (IS NULL) */
75
+ /** NULL check (IS NULL) */
76
76
  export interface ExprIsNull {
77
77
  type: "null";
78
78
  arg: Expr;
79
79
  }
80
- /** pattern 매칭 (LIKE) */
80
+ /** Pattern matching (LIKE) */
81
81
  export interface ExprLike {
82
82
  type: "like";
83
83
  source: Expr;
84
84
  pattern: Expr;
85
85
  }
86
- /** regular expression 매칭 (REGEXP) */
86
+ /** Regular expression matching (REGEXP) */
87
87
  export interface ExprRegexp {
88
88
  type: "regexp";
89
89
  source: Expr;
90
90
  pattern: Expr;
91
91
  }
92
- /** value 목록 include 검사 (IN) */
92
+ /** Value list inclusion check (IN) */
93
93
  export interface ExprIn {
94
94
  type: "in";
95
95
  source: Expr;
96
96
  values: Expr[];
97
97
  }
98
- /** Subquery result include 검사 (IN subquery) */
98
+ /** Subquery result inclusion check (IN subquery) */
99
99
  export interface ExprInQuery {
100
100
  type: "inQuery";
101
101
  source: Expr;
102
102
  query: SelectQueryDef;
103
103
  }
104
- /** Subquery 존재 검사 (EXISTS) */
104
+ /** Subquery existence check (EXISTS) */
105
105
  export interface ExprExists {
106
106
  type: "exists";
107
107
  query: SelectQueryDef;
108
108
  }
109
- /** logic 부정 (NOT) */
109
+ /** Logical negation (NOT) */
110
110
  export interface ExprNot {
111
111
  type: "not";
112
112
  arg: WhereExpr;
113
113
  }
114
- /** logic (AND) */
114
+ /** Logical conjunction (AND) */
115
115
  export interface ExprAnd {
116
116
  type: "and";
117
117
  conditions: WhereExpr[];
118
118
  }
119
- /** logic (OR) */
119
+ /** Logical disjunction (OR) */
120
120
  export interface ExprOr {
121
121
  type: "or";
122
122
  conditions: WhereExpr[];
123
123
  }
124
- /** 문자열 연결 (CONCAT) */
124
+ /** String concatenation (CONCAT) */
125
125
  export interface ExprConcat {
126
126
  type: "concat";
127
127
  args: Expr[];
128
128
  }
129
- /** 왼쪽 N 추출 (LEFT) */
129
+ /** Extract left N characters (LEFT) */
130
130
  export interface ExprLeft {
131
131
  type: "left";
132
132
  source: Expr;
133
133
  length: Expr;
134
134
  }
135
- /** 오른쪽 N 추출 (RIGHT) */
135
+ /** Extract right N characters (RIGHT) */
136
136
  export interface ExprRight {
137
137
  type: "right";
138
138
  source: Expr;
139
139
  length: Expr;
140
140
  }
141
- /** 좌우 공백 Remove (TRIM) */
141
+ /** Remove leading and trailing whitespace (TRIM) */
142
142
  export interface ExprTrim {
143
143
  type: "trim";
144
144
  arg: Expr;
145
145
  }
146
- /** 왼쪽 패딩 (LPAD) */
146
+ /** Left padding (LPAD) */
147
147
  export interface ExprPadStart {
148
148
  type: "padStart";
149
149
  source: Expr;
150
150
  length: Expr;
151
151
  fillString: Expr;
152
152
  }
153
- /** 문자열 치환 (REPLACE) */
153
+ /** String replacement (REPLACE) */
154
154
  export interface ExprReplace {
155
155
  type: "replace";
156
156
  source: Expr;
157
157
  from: Expr;
158
158
  to: Expr;
159
159
  }
160
- /** 대문자 Transform (UPPER) */
160
+ /** Uppercase transform (UPPER) */
161
161
  export interface ExprUpper {
162
162
  type: "upper";
163
163
  arg: Expr;
164
164
  }
165
- /** 소문자 Transform (LOWER) */
165
+ /** Lowercase transform (LOWER) */
166
166
  export interface ExprLower {
167
167
  type: "lower";
168
168
  arg: Expr;
169
169
  }
170
- /** 문자 길이 (CHAR_LENGTH) */
170
+ /** Character length (CHAR_LENGTH) */
171
171
  export interface ExprLength {
172
172
  type: "length";
173
173
  arg: Expr;
174
174
  }
175
- /** 바이트 길이 (LENGTH/DATALENGTH) */
175
+ /** Byte length (LENGTH/DATALENGTH) */
176
176
  export interface ExprByteLength {
177
177
  type: "byteLength";
178
178
  arg: Expr;
179
179
  }
180
- /** part 문자열 (SUBSTRING) */
180
+ /** Substring (SUBSTRING) */
181
181
  export interface ExprSubstring {
182
182
  type: "substring";
183
183
  source: Expr;
184
184
  start: Expr;
185
185
  length?: Expr;
186
186
  }
187
- /** 문자열 위치 (LOCATE/CHARINDEX/POSITION) */
187
+ /** String position (LOCATE/CHARINDEX/POSITION) */
188
188
  export interface ExprIndexOf {
189
189
  type: "indexOf";
190
190
  source: Expr;
191
191
  search: Expr;
192
192
  }
193
- /** 절대값 (ABS) */
193
+ /** Absolute value (ABS) */
194
194
  export interface ExprAbs {
195
195
  type: "abs";
196
196
  arg: Expr;
197
197
  }
198
- /** 반올림 (ROUND) */
198
+ /** Rounding (ROUND) */
199
199
  export interface ExprRound {
200
200
  type: "round";
201
201
  arg: Expr;
202
202
  digits: number;
203
203
  }
204
- /** 올림 (CEIL) */
204
+ /** Ceiling (CEIL) */
205
205
  export interface ExprCeil {
206
206
  type: "ceil";
207
207
  arg: Expr;
208
208
  }
209
- /** 내림 (FLOOR) */
209
+ /** Floor (FLOOR) */
210
210
  export interface ExprFloor {
211
211
  type: "floor";
212
212
  arg: Expr;
213
213
  }
214
- /** 연도 추출 (YEAR) */
214
+ /** Year extraction (YEAR) */
215
215
  export interface ExprYear {
216
216
  type: "year";
217
217
  arg: Expr;
218
218
  }
219
- /** 추출 (MONTH) */
219
+ /** Month extraction (MONTH) */
220
220
  export interface ExprMonth {
221
221
  type: "month";
222
222
  arg: Expr;
223
223
  }
224
- /** 추출 (DAY) */
224
+ /** Day extraction (DAY) */
225
225
  export interface ExprDay {
226
226
  type: "day";
227
227
  arg: Expr;
228
228
  }
229
- /** 시간 추출 (HOUR) */
229
+ /** Hour extraction (HOUR) */
230
230
  export interface ExprHour {
231
231
  type: "hour";
232
232
  arg: Expr;
233
233
  }
234
- /** 추출 (MINUTE) */
234
+ /** Minute extraction (MINUTE) */
235
235
  export interface ExprMinute {
236
236
  type: "minute";
237
237
  arg: Expr;
238
238
  }
239
- /** 추출 (SECOND) */
239
+ /** Second extraction (SECOND) */
240
240
  export interface ExprSecond {
241
241
  type: "second";
242
242
  arg: Expr;
243
243
  }
244
- /** ISO 주차 (WEEK) */
244
+ /** ISO week number (WEEK) */
245
245
  export interface ExprIsoWeek {
246
246
  type: "isoWeek";
247
247
  arg: Expr;
248
248
  }
249
- /** ISO 시작일 */
249
+ /** ISO week start date */
250
250
  export interface ExprIsoWeekStartDate {
251
251
  type: "isoWeekStartDate";
252
252
  arg: Expr;
253
253
  }
254
- /** ISO 연월 (YYYYMM 형식) */
254
+ /** ISO year-month (YYYYMM format) */
255
255
  export interface ExprIsoYearMonth {
256
256
  type: "isoYearMonth";
257
257
  arg: Expr;
258
258
  }
259
- /** Date 차이 (DATEDIFF) */
259
+ /** Date difference (DATEDIFF) */
260
260
  export interface ExprDateDiff {
261
261
  type: "dateDiff";
262
262
  unit: DateUnit;
263
263
  from: Expr;
264
264
  to: Expr;
265
265
  }
266
- /** Date 연산 (DATEADD) */
266
+ /** Date arithmetic (DATEADD) */
267
267
  export interface ExprDateAdd {
268
268
  type: "dateAdd";
269
269
  unit: DateUnit;
270
270
  source: Expr;
271
271
  value: Expr;
272
272
  }
273
- /** Date 포맷 (FORMAT/DATE_FORMAT) */
273
+ /** Date format (FORMAT/DATE_FORMAT) */
274
274
  export interface ExprFormatDate {
275
275
  type: "formatDate";
276
276
  source: Expr;
277
277
  format: string;
278
278
  }
279
- /** NULL 대체 (COALESCE - 번째 non-null return) */
279
+ /** NULL replacement (COALESCE - returns first non-null) */
280
280
  export interface ExprCoalesce {
281
281
  type: "coalesce";
282
282
  args: Expr[];
283
283
  }
284
- /** 조건부 NULL (NULLIF - source === value 이면 NULL) */
284
+ /** Conditional NULL (NULLIF - returns NULL if source === value) */
285
285
  export interface ExprNullIf {
286
286
  type: "nullIf";
287
287
  source: Expr;
288
288
  value: Expr;
289
289
  }
290
- /** 조건을 값으로 Transform (boolean 0/1) */
290
+ /** Transform condition to value (boolean -> 0/1) */
291
291
  export interface ExprIs {
292
292
  type: "is";
293
293
  condition: WhereExpr;
@@ -308,51 +308,51 @@ export interface ExprIf {
308
308
  then: Expr;
309
309
  else?: Expr;
310
310
  }
311
- /** 레코드 (COUNT) */
311
+ /** Record count (COUNT) */
312
312
  export interface ExprCount {
313
313
  type: "count";
314
314
  arg?: Expr;
315
315
  distinct?: boolean;
316
316
  }
317
- /** 합계 (SUM) */
317
+ /** Sum (SUM) */
318
318
  export interface ExprSum {
319
319
  type: "sum";
320
320
  arg: Expr;
321
321
  }
322
- /** 평균 (AVG) */
322
+ /** Average (AVG) */
323
323
  export interface ExprAvg {
324
324
  type: "avg";
325
325
  arg: Expr;
326
326
  }
327
- /** 최대값 (MAX) */
327
+ /** Maximum value (MAX) */
328
328
  export interface ExprMax {
329
329
  type: "max";
330
330
  arg: Expr;
331
331
  }
332
- /** 최소값 (MIN) */
332
+ /** Minimum value (MIN) */
333
333
  export interface ExprMin {
334
334
  type: "min";
335
335
  arg: Expr;
336
336
  }
337
- /** 최대값 selection (GREATEST) */
337
+ /** Maximum value selection (GREATEST) */
338
338
  export interface ExprGreatest {
339
339
  type: "greatest";
340
340
  args: Expr[];
341
341
  }
342
- /** 최소값 selection (LEAST) */
342
+ /** Minimum value selection (LEAST) */
343
343
  export interface ExprLeast {
344
344
  type: "least";
345
345
  args: Expr[];
346
346
  }
347
- /** row 번호 (ROW_NUMBER 단순 Version) */
347
+ /** Row number (simple ROW_NUMBER version) */
348
348
  export interface ExprRowNum {
349
349
  type: "rowNum";
350
350
  }
351
- /** 난수 (RAND/RANDOM) */
351
+ /** Random number (RAND/RANDOM) */
352
352
  export interface ExprRandom {
353
353
  type: "random";
354
354
  }
355
- /** type transformation (CAST) */
355
+ /** Type cast (CAST) */
356
356
  export interface ExprCast {
357
357
  type: "cast";
358
358
  source: Expr;
@@ -375,14 +375,14 @@ export interface WinFnNtile {
375
375
  type: "ntile";
376
376
  n: number;
377
377
  }
378
- /** LAG() - 이전 row value */
378
+ /** LAG() - Previous row value */
379
379
  export interface WinFnLag {
380
380
  type: "lag";
381
381
  column: Expr;
382
382
  offset?: number;
383
383
  default?: Expr;
384
384
  }
385
- /** LEAD() - 다음 row value */
385
+ /** LEAD() - Next row value */
386
386
  export interface WinFnLead {
387
387
  type: "lead";
388
388
  column: Expr;
@@ -427,14 +427,14 @@ export interface WinFnMax {
427
427
  /**
428
428
  * Window function union type
429
429
  *
430
- * 순위, 탐색, aggregation Window function
430
+ * Ranking, navigation, and aggregation Window functions
431
431
  */
432
432
  export type WinFn = WinFnRowNumber | WinFnRank | WinFnDenseRank | WinFnNtile | WinFnLag | WinFnLead | WinFnFirstValue | WinFnLastValue | WinFnSum | WinFnAvg | WinFnCount | WinFnMin | WinFnMax;
433
433
  /**
434
- * Window 스펙 (OVER )
434
+ * Window specification (OVER clause)
435
435
  *
436
- * @property partitionBy - PARTITION BY expression 목록
437
- * @property orderBy - ORDER BY [column, 방향] 목록
436
+ * @property partitionBy - PARTITION BY expression list
437
+ * @property orderBy - ORDER BY [column, direction] list
438
438
  */
439
439
  export interface WinSpec {
440
440
  partitionBy?: Expr[];
@@ -443,32 +443,32 @@ export interface WinSpec {
443
443
  /**
444
444
  * Window expression
445
445
  *
446
- * Window function + Window 스펙 composition
446
+ * Window function + Window specification composition
447
447
  */
448
448
  export interface ExprWindow {
449
449
  type: "window";
450
450
  fn: WinFn;
451
451
  spec: WinSpec;
452
452
  }
453
- /** 스칼라 Subquery */
453
+ /** Scalar Subquery */
454
454
  export interface ExprSubquery {
455
455
  type: "subquery";
456
456
  queryDef: SelectQueryDef;
457
457
  }
458
458
  /**
459
- * WHERE 절에 사용되는 expression (boolean return)
459
+ * Expression used in WHERE clause (returns boolean)
460
460
  *
461
- * comparison 연산 + logic 연산의 union type
462
- * where(), having() 등used in
461
+ * Union type of comparison operations + logical operations
462
+ * Used in where(), having(), etc.
463
463
  */
464
464
  export type WhereExpr = ExprEq | ExprGt | ExprLt | ExprGte | ExprLte | ExprBetween | ExprIsNull | ExprLike | ExprRegexp | ExprIn | ExprInQuery | ExprExists | ExprNot | ExprAnd | ExprOr;
465
465
  /**
466
- * 모든 expression union type
466
+ * All expression union type
467
467
  *
468
- * value, 문자열, Number, Date, condition, aggregation, Window 등 모든 expression
469
- * select(), orderBy() 등used in
468
+ * All expressions including value, string, number, date, conditional, aggregation, window, etc.
469
+ * Used in select(), orderBy(), etc.
470
470
  *
471
- * @see {@link WhereExpr} WHERE 전용 expression
471
+ * @see {@link WhereExpr} WHERE clause-specific expression
472
472
  */
473
473
  export type Expr = ExprColumn | ExprValue | ExprRaw | ExprConcat | ExprLeft | ExprRight | ExprTrim | ExprPadStart | ExprReplace | ExprUpper | ExprLower | ExprLength | ExprByteLength | ExprSubstring | ExprIndexOf | ExprAbs | ExprRound | ExprCeil | ExprFloor | ExprYear | ExprMonth | ExprDay | ExprHour | ExprMinute | ExprSecond | ExprIsoWeek | ExprIsoWeekStartDate | ExprIsoYearMonth | ExprDateDiff | ExprDateAdd | ExprFormatDate | ExprCoalesce | ExprNullIf | ExprIs | ExprSwitch | ExprIf | ExprCount | ExprSum | ExprAvg | ExprMax | ExprMin | ExprGreatest | ExprLeast | ExprRowNum | ExprRandom | ExprCast | ExprWindow | ExprSubquery;
474
474
  //# sourceMappingURL=expr.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"expr.d.ts","sourceRoot":"","sources":["..\\..\\src\\types\\expr.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAI/E;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,eAAe,CAAC;CACx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,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,OAAO,GACP,WAAW,GACX,UAAU,GACV,QAAQ,GACR,UAAU,GACV,MAAM,GACN,WAAW,GACX,UAAU,GAGV,OAAO,GACP,OAAO,GACP,MAAM,CAAC;AAEX;;;;;;;GAOG;AACH,MAAM,MAAM,IAAI,GAEZ,UAAU,GACV,SAAS,GACT,OAAO,GAGP,UAAU,GACV,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,WAAW,GACX,SAAS,GACT,SAAS,GACT,UAAU,GACV,cAAc,GACd,aAAa,GACb,WAAW,GAGX,OAAO,GACP,SAAS,GACT,QAAQ,GACR,SAAS,GAGT,QAAQ,GACR,SAAS,GACT,OAAO,GACP,QAAQ,GACR,UAAU,GACV,UAAU,GACV,WAAW,GACX,oBAAoB,GACpB,gBAAgB,GAChB,YAAY,GACZ,WAAW,GACX,cAAc,GAGd,YAAY,GACZ,UAAU,GACV,MAAM,GACN,UAAU,GACV,MAAM,GAGN,SAAS,GACT,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GAGP,YAAY,GACZ,SAAS,GACT,UAAU,GACV,UAAU,GACV,QAAQ,GAGR,UAAU,GAGV,YAAY,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import type { ColumnPrimitive, DataType } from "./column";
2
2
  import type { Expr, WhereExpr } from "./expr";
3
3
  /**
4
- * DB object 이름 (table, View, Procedure )
4
+ * DB object name (table, View, Procedure, etc.)
5
5
  *
6
- * DBMS 네임스페이스:
7
- * - MySQL: `database.name` (schema 무시)
8
- * - MSSQL: `database.schema.name` (schema Default value: dbo)
9
- * - PostgreSQL: `schema.name` (database connection)
6
+ * DBMS-specific namespaces:
7
+ * - MySQL: `database.name` (schema ignored)
8
+ * - MSSQL: `database.schema.name` (schema defaults to dbo)
9
+ * - PostgreSQL: `schema.name` (database is for connection only)
10
10
  */
11
11
  export interface QueryDefObjectName {
12
12
  database?: string;
@@ -14,9 +14,9 @@ export interface QueryDefObjectName {
14
14
  name: string;
15
15
  }
16
16
  /**
17
- * CUD query OUTPUT definition
17
+ * CUD query OUTPUT clause definition
18
18
  *
19
- * INSERT/UPDATE/DELETE 후 반환값 definition
19
+ * Define return values after INSERT/UPDATE/DELETE
20
20
  */
21
21
  export interface CudOutputDef {
22
22
  columns: string[];
@@ -27,19 +27,19 @@ export interface CudOutputDef {
27
27
  * SELECT Query definition
28
28
  *
29
29
  * @property type - Query type ("select")
30
- * @property from - FROM (table/Subquery)
31
- * @property as - Table 별칭
32
- * @property select - SELECT column Mapping
33
- * @property distinct - DISTINCT 여부
30
+ * @property from - FROM clause (table/Subquery)
31
+ * @property as - Table alias
32
+ * @property select - SELECT clause column mapping
33
+ * @property distinct - Whether DISTINCT
34
34
  * @property top - TOP N (MSSQL)
35
- * @property lock - 여부
35
+ * @property lock - Whether to lock
36
36
  * @property where - WHERE condition array
37
37
  * @property joins - JOIN definition array
38
- * @property orderBy - ORDER BY [column, 방향] array
38
+ * @property orderBy - ORDER BY [column, direction] array
39
39
  * @property limit - LIMIT [offset, count]
40
40
  * @property groupBy - GROUP BY expression array
41
41
  * @property having - HAVING condition array
42
- * @property with - recursive CTE definition
42
+ * @property with - Recursive CTE definition
43
43
  */
44
44
  export interface SelectQueryDef {
45
45
  type: "select";
@@ -64,18 +64,18 @@ export interface SelectQueryDef {
64
64
  /**
65
65
  * JOIN Query definition
66
66
  *
67
- * SelectQueryDef 확장 + isSingle flag
67
+ * SelectQueryDef extension + isSingle flag
68
68
  */
69
69
  export interface SelectQueryDefJoin extends SelectQueryDef {
70
- /** 단일 result 여부 (1:1 relationship) */
70
+ /** Whether single result (1:1 relation) */
71
71
  isSingle?: boolean;
72
72
  }
73
73
  /**
74
74
  * INSERT Query definition
75
75
  *
76
- * @property records - Insert할 레코드 array
77
- * @property overrideIdentity - IDENTITY_INSERT Enable 여부
78
- * @property output - OUTPUT definition
76
+ * @property records - Record array to insert
77
+ * @property overrideIdentity - Whether to enable IDENTITY_INSERT
78
+ * @property output - OUTPUT clause definition
79
79
  */
80
80
  export interface InsertQueryDef {
81
81
  type: "insert";
@@ -85,9 +85,9 @@ export interface InsertQueryDef {
85
85
  output?: CudOutputDef;
86
86
  }
87
87
  /**
88
- * 조건부 INSERT Query definition
88
+ * Conditional INSERT Query definition
89
89
  *
90
- * 존재하지 않는 경우에만 삽입
90
+ * Insert only if not exists
91
91
  */
92
92
  export interface InsertIfNotExistsQueryDef {
93
93
  type: "insertIfNotExists";
@@ -100,7 +100,7 @@ export interface InsertIfNotExistsQueryDef {
100
100
  /**
101
101
  * INSERT INTO SELECT Query definition
102
102
  *
103
- * Subquery 결과를 삽입
103
+ * Insert subquery results
104
104
  */
105
105
  export interface InsertIntoQueryDef {
106
106
  type: "insertInto";
@@ -112,8 +112,8 @@ export interface InsertIntoQueryDef {
112
112
  /**
113
113
  * UPDATE Query definition
114
114
  *
115
- * @property record - Update할 column/value Mapping
116
- * @property joins - UPDATE JOIN (지원 )
115
+ * @property record - Column/value mapping to update
116
+ * @property joins - UPDATE JOIN (when supported)
117
117
  */
118
118
  export interface UpdateQueryDef {
119
119
  type: "update";
@@ -153,13 +153,13 @@ export interface UpsertQueryDef {
153
153
  overrideIdentity?: boolean;
154
154
  output?: CudOutputDef;
155
155
  }
156
- /** FK constraint Enable/Disable */
156
+ /** FK constraint enable/disable */
157
157
  export interface SwitchFkQueryDef {
158
158
  type: "switchFk";
159
159
  table: QueryDefObjectName;
160
160
  enabled: boolean;
161
161
  }
162
- /** Clear schema (모든 object Delete) */
162
+ /** Clear schema (delete all objects) */
163
163
  export interface ClearSchemaQueryDef {
164
164
  type: "clearSchema";
165
165
  database: string;
@@ -212,7 +212,7 @@ export interface DropColumnQueryDef {
212
212
  table: QueryDefObjectName;
213
213
  column: string;
214
214
  }
215
- /** MODIFY COLUMN (type/property Change) */
215
+ /** MODIFY COLUMN (type/property change) */
216
216
  export interface ModifyColumnQueryDef {
217
217
  type: "modifyColumn";
218
218
  table: QueryDefObjectName;
@@ -324,19 +324,19 @@ export interface SchemaExistsQueryDef {
324
324
  schema?: string;
325
325
  }
326
326
  /**
327
- * DDL (Data Definition Language) type 상수
327
+ * DDL (Data Definition Language) type constants
328
328
  *
329
- * Transaction DDL 차단 DDL type Validation에 사용
330
- * satisfies 키워드로 DdlQueryDef와의 synchronous화를 컴파일 타임에 Validation
329
+ * Used for blocking DDL within transactions and DDL type validation
330
+ * Uses satisfies keyword for compile-time synchronization with DdlQueryDef
331
331
  *
332
332
  * @remarks
333
- * switchFk DDL이 아니므로 exclude (transaction 사용 가능)
333
+ * switchFk is excluded because it is not DDL (can be used within transactions)
334
334
  */
335
335
  export declare const DDL_TYPES: readonly ["clearSchema", "createTable", "dropTable", "renameTable", "truncate", "addColumn", "dropColumn", "modifyColumn", "renameColumn", "dropPrimaryKey", "addPrimaryKey", "addForeignKey", "dropForeignKey", "addIndex", "dropIndex", "createView", "dropView", "createProc", "dropProc"];
336
336
  /** DDL type union */
337
337
  export type DdlType = (typeof DDL_TYPES)[number];
338
338
  /**
339
- * 모든 Query definition union type
339
+ * All Query definition union type
340
340
  *
341
341
  * DML (SELECT/INSERT/UPDATE/DELETE/UPSERT) +
342
342
  * DDL (Table/Column/PK/FK/Index/View/Procedure) +