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 a8fe4d9 commit 20fc545Copy full SHA for 20fc545
1 file changed
src/pages/postgraphile/custom-mutations.md
@@ -116,21 +116,6 @@ AS $$
116
$$ LANGUAGE sql STRICT VOLATILE;
117
```
118
119
-A note on **anonymous types**: if you have a function that
120
-`RETURNS SETOF TABLE(a int, b text)` (an anonymous record type) then
121
-PostGraphile will not _currently_ pick it up due to the
122
-[common PostGraphile function restrictions](/postgraphile/function-restrictions/).
123
-It's easy to work around - define a named type:
124
-
125
-```sql
126
-CREATE TYPE my_function_return_type AS (
127
- a int,
128
- b text
129
-);
130
-```
131
132
-and then change your function to `RETURNS SETOF my_function_return_type`.
133
134
<!--
135
### Graphile Plugins
136
0 commit comments