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 1d5a2f6 commit 87b7625Copy full SHA for 87b7625
1 file changed
src/pages/postgraphile/enums.md
@@ -21,10 +21,11 @@ create table pets (
21
);
22
```
23
24
-The `@enum` smart comments can be used to set the name (`@enumName`)
25
-or the description (`@enumDescription`) of PostgreSQL enums.
+The `@enum` smart comments can be used to set the name (`@enumName`) or the
+description (`@enumDescription`) of PostgreSQL enums.
26
27
e.g.:
28
+
29
```sql
30
COMMENT ON TYPE animal_type IS E'@enum\n@enumName TypeOfAnimal';
31
0 commit comments