-
Notifications
You must be signed in to change notification settings - Fork 1
/
pg_constraint.view.lookml
55 lines (38 loc) · 982 Bytes
/
pg_constraint.view.lookml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
- view: pg_constraint
sql_table_name: pg_catalog.pg_constraint
fields:
- dimension: conbin
sql: ${TABLE}.conbin
- dimension: condeferrable
type: yesno
sql: ${TABLE}.condeferrable
- dimension: condeferred
type: yesno
sql: ${TABLE}.condeferred
- dimension: confdeltype
sql: ${TABLE}.confdeltype
- dimension: confkey
sql: ${TABLE}.confkey
- dimension: confmatchtype
sql: ${TABLE}.confmatchtype
- dimension: confrelid
sql: ${TABLE}.confrelid
- dimension: confupdtype
sql: ${TABLE}.confupdtype
- dimension: conkey
sql: ${TABLE}.conkey
- dimension: conname
sql: ${TABLE}.conname
- dimension: connamespace
sql: ${TABLE}.connamespace
- dimension: conrelid
sql: ${TABLE}.conrelid
- dimension: consrc
sql: ${TABLE}.consrc
- dimension: contype
sql: ${TABLE}.contype
- dimension: contypid
sql: ${TABLE}.contypid
- measure: count
type: count
drill_fields: [conname]