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 58e9402 commit 1bb7fa2Copy full SHA for 1bb7fa2
src/pages/postgraphile/smart-tags.md
@@ -142,6 +142,16 @@ comment on column my_schema.my_table.my_column is
142
E'@deprecated Use myOtherColumn instead.';
143
```
144
145
+### @hasDefault
146
+
147
+You can indicate that a column has a default - be that implemented via a trigger,
148
+or maybe as an instead of insert rule - so the field will be nullable in create*
149
+mutations.
150
151
+```sql
152
+comment on column my_schema.my_table.my_column is E'@hasDefault';
153
+```
154
155
#### @name
156
157
You can add a smart tag to an entity to rename that entity. For tables, columns,
0 commit comments