query.expression
|
Cascading Deletes: Deleting rows from this table will cascade to: query.expression. |
|
Deferrable Constraints: The following FK constraints are deferrable — they are checked at transaction end, not statement end: |
Columns
| Column | Type | Nullable | Default | Notes |
|---|---|---|---|---|
id PK |
|
No |
nextval('query.expression_id_seq'::regclass) |
|
type |
|
No |
||
parenthesize |
|
No |
false |
|
parent_expr FK |
|
Yes |
||
seq_no |
|
No |
1 |
|
literal |
|
Yes |
||
table_alias |
|
Yes |
||
column_name |
|
Yes |
||
left_operand FK |
|
Yes |
||
operator |
|
Yes |
||
right_operand FK |
|
Yes |
||
function_id FK |
|
Yes |
||
subquery FK |
|
Yes |
||
cast_type FK |
|
Yes |
||
negate |
|
No |
false |
|
bind_variable FK |
|
Yes |
Foreign Keys
| Column(s) | References | On Delete | On Update | Deferrable | Constraint |
|---|---|---|---|---|---|
|
NO ACTION |
NO ACTION |
DEFERRED |
|
|
|
NO ACTION |
NO ACTION |
DEFERRED |
|
|
|
NO ACTION |
NO ACTION |
DEFERRED |
|
|
|
NO ACTION |
NO ACTION |
DEFERRED |
|
|
|
CASCADE |
NO ACTION |
DEFERRED |
|
|
|
NO ACTION |
NO ACTION |
DEFERRED |
|
|
|
NO ACTION |
NO ACTION |
DEFERRED |
|
Check Constraints
-
expression_type:CHECK type = ANY (ARRAY['xbet'::text, 'xbind'::text, 'xbool'::text, 'xcase'::text, 'xcast'::text, 'xcol'::text, 'xex'::text, 'xfunc'::text, 'xin'::text, 'xisnull'::text, 'xnull'::text, 'xnum'::text, 'xop'::text, 'xser'::text, 'xstr'::text, 'xsubq'::text])
Indexes
| Index | Method | Definition |
|---|---|---|
|
btree |
|
|
btree |
|
Referenced By
The following tables have foreign keys pointing to query.expression (14 referencing table(s)):
| Table | Referencing Column(s) | Referenced Column(s) | Constraint |
|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|