kysely 0.12.0 → 0.12.1
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/cjs/dialect/dialect-adapter-base.d.ts +36 -0
- package/dist/cjs/dialect/mysql/mysql-adapter.d.ts +36 -0
- package/dist/cjs/dialect/mysql/mysql-dialect.d.ts +16 -0
- package/dist/cjs/dialect/mysql/mysql-driver.d.ts +29 -0
- package/dist/cjs/dialect/mysql/mysql-introspector.d.ts +3 -0
- package/dist/cjs/dialect/postgres/postgres-adapter.d.ts +36 -0
- package/dist/cjs/dialect/postgres/postgres-dialect.d.ts +16 -0
- package/dist/cjs/dialect/postgres/postgres-driver.d.ts +29 -0
- package/dist/cjs/dialect/postgres/postgres-introspector.d.ts +3 -0
- package/dist/cjs/dialect/sqlite/sqlite-adapter.d.ts +36 -0
- package/dist/cjs/dialect/sqlite/sqlite-dialect.d.ts +16 -0
- package/dist/cjs/dialect/sqlite/sqlite-driver.d.ts +29 -0
- package/dist/cjs/dialect/sqlite/sqlite-introspector.d.ts +3 -0
- package/dist/cjs/driver/default-connection-provider.d.ts +4 -0
- package/dist/cjs/driver/runtime-driver.d.ts +29 -0
- package/dist/cjs/driver/single-connection-provider.d.ts +4 -0
- package/dist/cjs/package.json +1 -3
- package/dist/cjs/parser/parse-context.d.ts +14 -0
- package/dist/cjs/plugin/camel-case/camel-case-plugin.d.ts +34 -0
- package/dist/cjs/plugin/immediate-value.ts/immediate-value-plugin.d.ts +34 -0
- package/dist/cjs/plugin/with-schema/with-schema-plugin.d.ts +34 -0
- package/dist/cjs/query-builder/delete-query-builder.d.ts +545 -0
- package/dist/cjs/query-builder/insert-query-builder.d.ts +69 -4
- package/dist/cjs/query-builder/join-interface.d.ts +3 -6
- package/dist/cjs/query-builder/returning-interface.d.ts +1 -1
- package/dist/cjs/query-builder/select-query-builder.d.ts +513 -2
- package/dist/cjs/query-builder/select-query-builder.js +2 -2
- package/dist/cjs/query-builder/update-query-builder.d.ts +547 -2
- package/dist/cjs/query-builder/update-query-builder.js +2 -2
- package/dist/cjs/query-builder/where-interface.d.ts +7 -10
- package/dist/cjs/schema/alter-table-builder.d.ts +216 -0
- package/dist/cjs/schema/column-definition-builder.d.ts +108 -0
- package/dist/esm/dialect/dialect-adapter-base.d.ts +36 -0
- package/dist/esm/dialect/mysql/mysql-adapter.d.ts +36 -0
- package/dist/esm/dialect/mysql/mysql-dialect.d.ts +16 -0
- package/dist/esm/dialect/mysql/mysql-driver.d.ts +29 -0
- package/dist/esm/dialect/mysql/mysql-introspector.d.ts +3 -0
- package/dist/esm/dialect/postgres/postgres-adapter.d.ts +36 -0
- package/dist/esm/dialect/postgres/postgres-dialect.d.ts +16 -0
- package/dist/esm/dialect/postgres/postgres-driver.d.ts +29 -0
- package/dist/esm/dialect/postgres/postgres-introspector.d.ts +3 -0
- package/dist/esm/dialect/sqlite/sqlite-adapter.d.ts +36 -0
- package/dist/esm/dialect/sqlite/sqlite-dialect.d.ts +16 -0
- package/dist/esm/dialect/sqlite/sqlite-driver.d.ts +29 -0
- package/dist/esm/dialect/sqlite/sqlite-introspector.d.ts +3 -0
- package/dist/esm/driver/default-connection-provider.d.ts +4 -0
- package/dist/esm/driver/runtime-driver.d.ts +29 -0
- package/dist/esm/driver/single-connection-provider.d.ts +4 -0
- package/dist/esm/package.json +1 -3
- package/dist/esm/parser/parse-context.d.ts +14 -0
- package/dist/esm/plugin/camel-case/camel-case-plugin.d.ts +34 -0
- package/dist/esm/plugin/immediate-value.ts/immediate-value-plugin.d.ts +34 -0
- package/dist/esm/plugin/with-schema/with-schema-plugin.d.ts +34 -0
- package/dist/esm/query-builder/delete-query-builder.d.ts +545 -0
- package/dist/esm/query-builder/insert-query-builder.d.ts +69 -4
- package/dist/esm/query-builder/join-interface.d.ts +3 -6
- package/dist/esm/query-builder/returning-interface.d.ts +1 -1
- package/dist/esm/query-builder/select-query-builder.d.ts +513 -2
- package/dist/esm/query-builder/select-query-builder.js +2 -2
- package/dist/esm/query-builder/update-query-builder.d.ts +547 -2
- package/dist/esm/query-builder/update-query-builder.js +2 -2
- package/dist/esm/query-builder/where-interface.d.ts +7 -10
- package/dist/esm/schema/alter-table-builder.d.ts +216 -0
- package/dist/esm/schema/column-definition-builder.d.ts +108 -0
- package/package.json +7 -5
|
@@ -63,16 +63,124 @@ export interface AlterTableExecutorProps extends AlterTableBuilderProps {
|
|
|
63
63
|
export declare class AlterTableAddColumnBuilder implements ColumnDefinitionBuilderInterface, OperationNodeSource, Compilable {
|
|
64
64
|
#private;
|
|
65
65
|
constructor(props: AlterTableAddColumnBuilderProps);
|
|
66
|
+
/**
|
|
67
|
+
* Adds `auto_increment` or `autoincrement` to the column definition
|
|
68
|
+
* depending on the dialect.
|
|
69
|
+
*
|
|
70
|
+
* Some dialects like PostgreSQL don't support this. On PostgreSQL
|
|
71
|
+
* you can use the `serial` or `bigserial` data type instead.
|
|
72
|
+
*/
|
|
66
73
|
autoIncrement(): AlterTableAddColumnBuilder;
|
|
74
|
+
/**
|
|
75
|
+
* Makes the column the primary key.
|
|
76
|
+
*
|
|
77
|
+
* If you want to specify a composite primary key use the
|
|
78
|
+
* {@link TableBuilder.addPrimaryKeyConstraint} method.
|
|
79
|
+
*/
|
|
67
80
|
primaryKey(): AlterTableAddColumnBuilder;
|
|
81
|
+
/**
|
|
82
|
+
* Adds a foreign key constraint for the column.
|
|
83
|
+
*
|
|
84
|
+
* If your database engine doesn't support foreign key constraints in the
|
|
85
|
+
* column definition (like MySQL 5) you need to call the table level
|
|
86
|
+
* {@link TableBuilder.addForeignKeyConstraint} method instead.
|
|
87
|
+
*
|
|
88
|
+
* ### Examples
|
|
89
|
+
*
|
|
90
|
+
* ```ts
|
|
91
|
+
* col.references('person.id')
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
68
94
|
references(ref: string): AlterTableAddColumnBuilder;
|
|
95
|
+
/**
|
|
96
|
+
* Adds an `on delete` constraint for the foreign key column.
|
|
97
|
+
*
|
|
98
|
+
* If your database engine doesn't support foreign key constraints in the
|
|
99
|
+
* column definition (like MySQL 5) you need to call the table level
|
|
100
|
+
* {@link TableBuilder.addForeignKeyConstraint} method instead.
|
|
101
|
+
*
|
|
102
|
+
* ### Examples
|
|
103
|
+
*
|
|
104
|
+
* ```ts
|
|
105
|
+
* col.references('person.id').onDelete('cascade')
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
69
108
|
onDelete(onDelete: OnModifyForeignAction): AlterTableAddColumnBuilder;
|
|
109
|
+
/**
|
|
110
|
+
* Adds an `on update` constraint for the foreign key column.
|
|
111
|
+
*
|
|
112
|
+
* ### Examples
|
|
113
|
+
*
|
|
114
|
+
* ```ts
|
|
115
|
+
* col.references('person.id').onUpdate('cascade')
|
|
116
|
+
* ```
|
|
117
|
+
*/
|
|
70
118
|
onUpdate(onDelete: OnModifyForeignAction): AlterTableAddColumnBuilder;
|
|
119
|
+
/**
|
|
120
|
+
* Adds a unique constraint for the column.
|
|
121
|
+
*/
|
|
71
122
|
unique(): AlterTableAddColumnBuilder;
|
|
123
|
+
/**
|
|
124
|
+
* Adds a `not null` constraint for the column.
|
|
125
|
+
*/
|
|
72
126
|
notNull(): AlterTableAddColumnBuilder;
|
|
127
|
+
/**
|
|
128
|
+
* Adds a default value constraint for the column.
|
|
129
|
+
*
|
|
130
|
+
* ### Examples
|
|
131
|
+
*
|
|
132
|
+
* ```ts
|
|
133
|
+
* db.schema
|
|
134
|
+
* .createTable('pet')
|
|
135
|
+
* .addColumn('number_of_legs', 'integer', (col) => col.defaultTo(4))
|
|
136
|
+
* .execute()
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
73
139
|
defaultTo(value: PrimitiveValue | AnyRawBuilder): AlterTableAddColumnBuilder;
|
|
140
|
+
/**
|
|
141
|
+
* Adds a check constraint for the column.
|
|
142
|
+
*
|
|
143
|
+
* ### Examples
|
|
144
|
+
*
|
|
145
|
+
* ```ts
|
|
146
|
+
* db.schema
|
|
147
|
+
* .createTable('pet')
|
|
148
|
+
* .addColumn('number_of_legs', 'integer', (col) => col.check('number_of_legs < 5'))
|
|
149
|
+
* .execute()
|
|
150
|
+
* ```
|
|
151
|
+
*/
|
|
74
152
|
check(sql: string): AlterTableAddColumnBuilder;
|
|
153
|
+
/**
|
|
154
|
+
* Makes the column a generated column using a `generated always as` statement.
|
|
155
|
+
*
|
|
156
|
+
* ### Examples
|
|
157
|
+
*
|
|
158
|
+
* ```ts
|
|
159
|
+
* db.schema
|
|
160
|
+
* .createTable('person')
|
|
161
|
+
* .addColumn('full_name', 'varchar(255)',
|
|
162
|
+
* (col) => col.generatedAlwaysAs("concat(first_name, ' ', last_name)")
|
|
163
|
+
* )
|
|
164
|
+
* .execute()
|
|
165
|
+
* ```
|
|
166
|
+
*/
|
|
75
167
|
generatedAlwaysAs(sql: string): AlterTableAddColumnBuilder;
|
|
168
|
+
/**
|
|
169
|
+
* Makes a generated column stored instead of virtual. This method can only
|
|
170
|
+
* be used with {@link generatedAlwaysAs}
|
|
171
|
+
*
|
|
172
|
+
* ### Examples
|
|
173
|
+
*
|
|
174
|
+
* ```ts
|
|
175
|
+
* db.schema
|
|
176
|
+
* .createTable('person')
|
|
177
|
+
* .addColumn('full_name', 'varchar(255)', (col) => col
|
|
178
|
+
* .generatedAlwaysAs("concat(first_name, ' ', last_name)")
|
|
179
|
+
* .stored()
|
|
180
|
+
* )
|
|
181
|
+
* .execute()
|
|
182
|
+
* ```
|
|
183
|
+
*/
|
|
76
184
|
stored(): AlterTableAddColumnBuilder;
|
|
77
185
|
toOperationNode(): AlterTableNode;
|
|
78
186
|
compile(): CompiledQuery;
|
|
@@ -84,16 +192,124 @@ export interface AlterTableAddColumnBuilderProps extends AlterTableBuilderProps
|
|
|
84
192
|
export declare class AlterTableModifyColumnBuilder implements ColumnDefinitionBuilderInterface, OperationNodeSource, Compilable {
|
|
85
193
|
#private;
|
|
86
194
|
constructor(props: AlterTableModifyColumnBuilderProps);
|
|
195
|
+
/**
|
|
196
|
+
* Adds `auto_increment` or `autoincrement` to the column definition
|
|
197
|
+
* depending on the dialect.
|
|
198
|
+
*
|
|
199
|
+
* Some dialects like PostgreSQL don't support this. On PostgreSQL
|
|
200
|
+
* you can use the `serial` or `bigserial` data type instead.
|
|
201
|
+
*/
|
|
87
202
|
autoIncrement(): AlterTableModifyColumnBuilder;
|
|
203
|
+
/**
|
|
204
|
+
* Makes the column the primary key.
|
|
205
|
+
*
|
|
206
|
+
* If you want to specify a composite primary key use the
|
|
207
|
+
* {@link TableBuilder.addPrimaryKeyConstraint} method.
|
|
208
|
+
*/
|
|
88
209
|
primaryKey(): AlterTableModifyColumnBuilder;
|
|
210
|
+
/**
|
|
211
|
+
* Adds a foreign key constraint for the column.
|
|
212
|
+
*
|
|
213
|
+
* If your database engine doesn't support foreign key constraints in the
|
|
214
|
+
* column definition (like MySQL 5) you need to call the table level
|
|
215
|
+
* {@link TableBuilder.addForeignKeyConstraint} method instead.
|
|
216
|
+
*
|
|
217
|
+
* ### Examples
|
|
218
|
+
*
|
|
219
|
+
* ```ts
|
|
220
|
+
* col.references('person.id')
|
|
221
|
+
* ```
|
|
222
|
+
*/
|
|
89
223
|
references(ref: string): AlterTableModifyColumnBuilder;
|
|
224
|
+
/**
|
|
225
|
+
* Adds an `on delete` constraint for the foreign key column.
|
|
226
|
+
*
|
|
227
|
+
* If your database engine doesn't support foreign key constraints in the
|
|
228
|
+
* column definition (like MySQL 5) you need to call the table level
|
|
229
|
+
* {@link TableBuilder.addForeignKeyConstraint} method instead.
|
|
230
|
+
*
|
|
231
|
+
* ### Examples
|
|
232
|
+
*
|
|
233
|
+
* ```ts
|
|
234
|
+
* col.references('person.id').onDelete('cascade')
|
|
235
|
+
* ```
|
|
236
|
+
*/
|
|
90
237
|
onDelete(onDelete: OnModifyForeignAction): AlterTableModifyColumnBuilder;
|
|
238
|
+
/**
|
|
239
|
+
* Adds an `on update` constraint for the foreign key column.
|
|
240
|
+
*
|
|
241
|
+
* ### Examples
|
|
242
|
+
*
|
|
243
|
+
* ```ts
|
|
244
|
+
* col.references('person.id').onUpdate('cascade')
|
|
245
|
+
* ```
|
|
246
|
+
*/
|
|
91
247
|
onUpdate(onUpdate: OnModifyForeignAction): AlterTableModifyColumnBuilder;
|
|
248
|
+
/**
|
|
249
|
+
* Adds a unique constraint for the column.
|
|
250
|
+
*/
|
|
92
251
|
unique(): AlterTableModifyColumnBuilder;
|
|
252
|
+
/**
|
|
253
|
+
* Adds a `not null` constraint for the column.
|
|
254
|
+
*/
|
|
93
255
|
notNull(): AlterTableModifyColumnBuilder;
|
|
256
|
+
/**
|
|
257
|
+
* Adds a default value constraint for the column.
|
|
258
|
+
*
|
|
259
|
+
* ### Examples
|
|
260
|
+
*
|
|
261
|
+
* ```ts
|
|
262
|
+
* db.schema
|
|
263
|
+
* .createTable('pet')
|
|
264
|
+
* .addColumn('number_of_legs', 'integer', (col) => col.defaultTo(4))
|
|
265
|
+
* .execute()
|
|
266
|
+
* ```
|
|
267
|
+
*/
|
|
94
268
|
defaultTo(value: PrimitiveValue | AnyRawBuilder): AlterTableModifyColumnBuilder;
|
|
269
|
+
/**
|
|
270
|
+
* Adds a check constraint for the column.
|
|
271
|
+
*
|
|
272
|
+
* ### Examples
|
|
273
|
+
*
|
|
274
|
+
* ```ts
|
|
275
|
+
* db.schema
|
|
276
|
+
* .createTable('pet')
|
|
277
|
+
* .addColumn('number_of_legs', 'integer', (col) => col.check('number_of_legs < 5'))
|
|
278
|
+
* .execute()
|
|
279
|
+
* ```
|
|
280
|
+
*/
|
|
95
281
|
check(sql: string): AlterTableModifyColumnBuilder;
|
|
282
|
+
/**
|
|
283
|
+
* Makes the column a generated column using a `generated always as` statement.
|
|
284
|
+
*
|
|
285
|
+
* ### Examples
|
|
286
|
+
*
|
|
287
|
+
* ```ts
|
|
288
|
+
* db.schema
|
|
289
|
+
* .createTable('person')
|
|
290
|
+
* .addColumn('full_name', 'varchar(255)',
|
|
291
|
+
* (col) => col.generatedAlwaysAs("concat(first_name, ' ', last_name)")
|
|
292
|
+
* )
|
|
293
|
+
* .execute()
|
|
294
|
+
* ```
|
|
295
|
+
*/
|
|
96
296
|
generatedAlwaysAs(sql: string): AlterTableModifyColumnBuilder;
|
|
297
|
+
/**
|
|
298
|
+
* Makes a generated column stored instead of virtual. This method can only
|
|
299
|
+
* be used with {@link generatedAlwaysAs}
|
|
300
|
+
*
|
|
301
|
+
* ### Examples
|
|
302
|
+
*
|
|
303
|
+
* ```ts
|
|
304
|
+
* db.schema
|
|
305
|
+
* .createTable('person')
|
|
306
|
+
* .addColumn('full_name', 'varchar(255)', (col) => col
|
|
307
|
+
* .generatedAlwaysAs("concat(first_name, ' ', last_name)")
|
|
308
|
+
* .stored()
|
|
309
|
+
* )
|
|
310
|
+
* .execute()
|
|
311
|
+
* ```
|
|
312
|
+
*/
|
|
97
313
|
stored(): AlterTableModifyColumnBuilder;
|
|
98
314
|
toOperationNode(): AlterTableNode;
|
|
99
315
|
compile(): CompiledQuery;
|
|
@@ -128,16 +128,124 @@ export interface ColumnDefinitionBuilderInterface {
|
|
|
128
128
|
export declare class ColumnDefinitionBuilder implements ColumnDefinitionBuilderInterface, OperationNodeSource {
|
|
129
129
|
#private;
|
|
130
130
|
constructor(node: ColumnDefinitionNode);
|
|
131
|
+
/**
|
|
132
|
+
* Adds `auto_increment` or `autoincrement` to the column definition
|
|
133
|
+
* depending on the dialect.
|
|
134
|
+
*
|
|
135
|
+
* Some dialects like PostgreSQL don't support this. On PostgreSQL
|
|
136
|
+
* you can use the `serial` or `bigserial` data type instead.
|
|
137
|
+
*/
|
|
131
138
|
autoIncrement(): ColumnDefinitionBuilder;
|
|
139
|
+
/**
|
|
140
|
+
* Makes the column the primary key.
|
|
141
|
+
*
|
|
142
|
+
* If you want to specify a composite primary key use the
|
|
143
|
+
* {@link TableBuilder.addPrimaryKeyConstraint} method.
|
|
144
|
+
*/
|
|
132
145
|
primaryKey(): ColumnDefinitionBuilder;
|
|
146
|
+
/**
|
|
147
|
+
* Adds a foreign key constraint for the column.
|
|
148
|
+
*
|
|
149
|
+
* If your database engine doesn't support foreign key constraints in the
|
|
150
|
+
* column definition (like MySQL 5) you need to call the table level
|
|
151
|
+
* {@link TableBuilder.addForeignKeyConstraint} method instead.
|
|
152
|
+
*
|
|
153
|
+
* ### Examples
|
|
154
|
+
*
|
|
155
|
+
* ```ts
|
|
156
|
+
* col.references('person.id')
|
|
157
|
+
* ```
|
|
158
|
+
*/
|
|
133
159
|
references(ref: string): ColumnDefinitionBuilder;
|
|
160
|
+
/**
|
|
161
|
+
* Adds an `on delete` constraint for the foreign key column.
|
|
162
|
+
*
|
|
163
|
+
* If your database engine doesn't support foreign key constraints in the
|
|
164
|
+
* column definition (like MySQL 5) you need to call the table level
|
|
165
|
+
* {@link TableBuilder.addForeignKeyConstraint} method instead.
|
|
166
|
+
*
|
|
167
|
+
* ### Examples
|
|
168
|
+
*
|
|
169
|
+
* ```ts
|
|
170
|
+
* col.references('person.id').onDelete('cascade')
|
|
171
|
+
* ```
|
|
172
|
+
*/
|
|
134
173
|
onDelete(onDelete: OnModifyForeignAction): ColumnDefinitionBuilder;
|
|
174
|
+
/**
|
|
175
|
+
* Adds an `on update` constraint for the foreign key column.
|
|
176
|
+
*
|
|
177
|
+
* ### Examples
|
|
178
|
+
*
|
|
179
|
+
* ```ts
|
|
180
|
+
* col.references('person.id').onUpdate('cascade')
|
|
181
|
+
* ```
|
|
182
|
+
*/
|
|
135
183
|
onUpdate(onUpdate: OnModifyForeignAction): ColumnDefinitionBuilder;
|
|
184
|
+
/**
|
|
185
|
+
* Adds a unique constraint for the column.
|
|
186
|
+
*/
|
|
136
187
|
unique(): ColumnDefinitionBuilder;
|
|
188
|
+
/**
|
|
189
|
+
* Adds a `not null` constraint for the column.
|
|
190
|
+
*/
|
|
137
191
|
notNull(): ColumnDefinitionBuilder;
|
|
192
|
+
/**
|
|
193
|
+
* Adds a default value constraint for the column.
|
|
194
|
+
*
|
|
195
|
+
* ### Examples
|
|
196
|
+
*
|
|
197
|
+
* ```ts
|
|
198
|
+
* db.schema
|
|
199
|
+
* .createTable('pet')
|
|
200
|
+
* .addColumn('number_of_legs', 'integer', (col) => col.defaultTo(4))
|
|
201
|
+
* .execute()
|
|
202
|
+
* ```
|
|
203
|
+
*/
|
|
138
204
|
defaultTo(value: DefaultValueExpression): ColumnDefinitionBuilder;
|
|
205
|
+
/**
|
|
206
|
+
* Adds a check constraint for the column.
|
|
207
|
+
*
|
|
208
|
+
* ### Examples
|
|
209
|
+
*
|
|
210
|
+
* ```ts
|
|
211
|
+
* db.schema
|
|
212
|
+
* .createTable('pet')
|
|
213
|
+
* .addColumn('number_of_legs', 'integer', (col) => col.check('number_of_legs < 5'))
|
|
214
|
+
* .execute()
|
|
215
|
+
* ```
|
|
216
|
+
*/
|
|
139
217
|
check(sql: string): ColumnDefinitionBuilder;
|
|
218
|
+
/**
|
|
219
|
+
* Makes the column a generated column using a `generated always as` statement.
|
|
220
|
+
*
|
|
221
|
+
* ### Examples
|
|
222
|
+
*
|
|
223
|
+
* ```ts
|
|
224
|
+
* db.schema
|
|
225
|
+
* .createTable('person')
|
|
226
|
+
* .addColumn('full_name', 'varchar(255)',
|
|
227
|
+
* (col) => col.generatedAlwaysAs("concat(first_name, ' ', last_name)")
|
|
228
|
+
* )
|
|
229
|
+
* .execute()
|
|
230
|
+
* ```
|
|
231
|
+
*/
|
|
140
232
|
generatedAlwaysAs(sql: string): ColumnDefinitionBuilder;
|
|
233
|
+
/**
|
|
234
|
+
* Makes a generated column stored instead of virtual. This method can only
|
|
235
|
+
* be used with {@link generatedAlwaysAs}
|
|
236
|
+
*
|
|
237
|
+
* ### Examples
|
|
238
|
+
*
|
|
239
|
+
* ```ts
|
|
240
|
+
* db.schema
|
|
241
|
+
* .createTable('person')
|
|
242
|
+
* .addColumn('full_name', 'varchar(255)', (col) => col
|
|
243
|
+
* .generatedAlwaysAs("concat(first_name, ' ', last_name)")
|
|
244
|
+
* .stored()
|
|
245
|
+
* )
|
|
246
|
+
* .execute()
|
|
247
|
+
* ```
|
|
248
|
+
*/
|
|
141
249
|
stored(): ColumnDefinitionBuilder;
|
|
142
250
|
toOperationNode(): ColumnDefinitionNode;
|
|
143
251
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kysely",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "Type safe SQL query builder",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,16 +20,18 @@
|
|
|
20
20
|
"scripts": {
|
|
21
21
|
"test:build": "rm -rf test/dist && tsc -p test",
|
|
22
22
|
"clean": "rm -rf dist && rm -rf test/dist",
|
|
23
|
-
"test": "npm run clean && npm run build:cjs && npm run test:build && npm run test:integration && npm run test:typings && npm run test:esmimports",
|
|
23
|
+
"test": "npm run clean && npm run build:cjs && npm run script:copy-interface-doc && npm run test:build && npm run test:integration && npm run test:typings && npm run test:esmimports",
|
|
24
24
|
"test:integration": "mocha --timeout 15000 test/dist/**/*.test.js",
|
|
25
25
|
"test:typings": "tsd test/typings",
|
|
26
|
-
"test:esmimports": "node check-esm-imports.js",
|
|
26
|
+
"test:esmimports": "node scripts/check-esm-imports.js",
|
|
27
27
|
"prettier": "prettier --write src/**/*.ts test/**/*.ts",
|
|
28
|
-
"build": "npm run clean && npm run build:esm && npm run build:cjs &&
|
|
28
|
+
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run script:module-fixup && npm run script:copy-interface-doc",
|
|
29
29
|
"build:esm": "tsc -p tsconfig.json",
|
|
30
30
|
"build:cjs": "tsc -p tsconfig-cjs.json",
|
|
31
31
|
"docs:build": "typedoc --excludePrivate --excludeInternal --customCss ./docs-theme.css src/index.ts && npm run docs:postprocess",
|
|
32
|
-
"docs:postprocess": "node post-process-docs.js",
|
|
32
|
+
"docs:postprocess": "node scripts/post-process-docs.js",
|
|
33
|
+
"script:module-fixup": "node scripts/module-fixup.js",
|
|
34
|
+
"script:copy-interface-doc": "node scripts/copy-interface-documentation.js",
|
|
33
35
|
"prepublishOnly": "npm run build"
|
|
34
36
|
},
|
|
35
37
|
"author": "Sami Koskimäki <sami@jakso.me>",
|