kysely 0.21.1 → 0.21.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.
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ column names, aliases and types from selected subqueries, joined subqueries, `wi
|
|
|
21
21
|
much anything you can think of.
|
|
22
22
|
|
|
23
23
|
Of course there are cases where things cannot be typed at compile time, and Kysely offers escape
|
|
24
|
-
hatches for these situations. See the [sql template tag](https://koskimas.github.io/kysely/functions/sql.html)
|
|
24
|
+
hatches for these situations. See the [sql template tag](https://koskimas.github.io/kysely/functions/sql-1.html)
|
|
25
25
|
and the [DynamicModule](https://koskimas.github.io/kysely/classes/DynamicModule.html#ref) for more info.
|
|
26
26
|
|
|
27
27
|
If you start using Kysely and can't find something you'd want to use, please open an issue or join our
|
|
@@ -21,13 +21,13 @@ class MysqlIntrospector {
|
|
|
21
21
|
let query = this.#db
|
|
22
22
|
.selectFrom('information_schema.columns')
|
|
23
23
|
.select([
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
24
|
+
'COLUMN_NAME',
|
|
25
|
+
'COLUMN_DEFAULT',
|
|
26
|
+
'TABLE_NAME',
|
|
27
|
+
'TABLE_SCHEMA',
|
|
28
|
+
'IS_NULLABLE',
|
|
29
|
+
'DATA_TYPE',
|
|
30
|
+
'EXTRA',
|
|
31
31
|
])
|
|
32
32
|
.where('table_schema', '=', (0, sql_js_1.sql) `database()`)
|
|
33
33
|
.orderBy('table_name')
|
|
@@ -19,13 +19,13 @@ export class MysqlIntrospector {
|
|
|
19
19
|
let query = this.#db
|
|
20
20
|
.selectFrom('information_schema.columns')
|
|
21
21
|
.select([
|
|
22
|
-
'
|
|
23
|
-
'
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'
|
|
28
|
-
'
|
|
22
|
+
'COLUMN_NAME',
|
|
23
|
+
'COLUMN_DEFAULT',
|
|
24
|
+
'TABLE_NAME',
|
|
25
|
+
'TABLE_SCHEMA',
|
|
26
|
+
'IS_NULLABLE',
|
|
27
|
+
'DATA_TYPE',
|
|
28
|
+
'EXTRA',
|
|
29
29
|
])
|
|
30
30
|
.where('table_schema', '=', sql `database()`)
|
|
31
31
|
.orderBy('table_name')
|