kysely 0.28.0 → 0.28.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.
|
@@ -39,7 +39,7 @@ class PostgresIntrospector {
|
|
|
39
39
|
'typ.typname as type',
|
|
40
40
|
'dtns.nspname as type_schema',
|
|
41
41
|
(0, sql_js_1.sql) `col_description(a.attrelid, a.attnum)`.as('column_description'),
|
|
42
|
-
(0, sql_js_1.sql) `pg_get_serial_sequence(ns.nspname || '.' || c.relname, a.attname)`.as('auto_incrementing'),
|
|
42
|
+
(0, sql_js_1.sql) `pg_get_serial_sequence(quote_ident(ns.nspname) || '.' || quote_ident(c.relname), a.attname)`.as('auto_incrementing'),
|
|
43
43
|
])
|
|
44
44
|
.where('c.relkind', 'in', [
|
|
45
45
|
'r' /*regular table*/,
|
|
@@ -37,7 +37,7 @@ export class PostgresIntrospector {
|
|
|
37
37
|
'typ.typname as type',
|
|
38
38
|
'dtns.nspname as type_schema',
|
|
39
39
|
sql `col_description(a.attrelid, a.attnum)`.as('column_description'),
|
|
40
|
-
sql `pg_get_serial_sequence(ns.nspname || '.' || c.relname, a.attname)`.as('auto_incrementing'),
|
|
40
|
+
sql `pg_get_serial_sequence(quote_ident(ns.nspname) || '.' || quote_ident(c.relname), a.attname)`.as('auto_incrementing'),
|
|
41
41
|
])
|
|
42
42
|
.where('c.relkind', 'in', [
|
|
43
43
|
'r' /*regular table*/,
|