We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e996e3e commit e16831dCopy full SHA for e16831d
src/lib/interfaces.ts
@@ -85,6 +85,7 @@ export namespace Tables {
85
table_id: number
86
schema: string
87
table: string
88
+ id: string
89
ordinal_position: number
90
name: string
91
default_value: string | null
src/lib/sql/columns.sql
@@ -3,6 +3,7 @@ SELECT
3
c.oid AS table_id,
4
table_schema AS schema,
5
table_name AS table,
6
+ (c.oid || '.' || ordinal_position) AS id,
7
ordinal_position,
8
column_name AS name,
9
column_default AS default_value,
0 commit comments