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 2b68b46 commit 09e36c3Copy full SHA for 09e36c3
README.md
@@ -60,6 +60,11 @@ create table blog_post(
60
created_at timestamp not null,
61
updated_at timestamp not null
62
);
63
+
64
+-- This enables default inflection, which automatically renames
65
+-- snake_case to PascalCase for type names, and snake_case to camelCase for field names.
66
+-- See https://supabase.github.io/pg_graphql/configuration/#inflection for more details.
67
+COMMENT ON SCHEMA public IS e'@graphql({"inflect_names": true})';
68
```
69
Translates into a GraphQL schema displayed below.
70
0 commit comments