mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 23:59:08 +03:00
Update apps/www/_blog/2023-04-19-whats-new-in-pg-graphql-v1-2.mdx
Co-authored-by: Greg Richardson <greg@supabase.io>
This commit is contained in:
1 parent
6a2856a322
commit
d00044ce3a
1 file changed
+1
-1
@@ -38,7 +38,7 @@ create view "ProjectOwner" as
|
||||
acc.role = 'project_owner'
|
||||
```
|
||||
|
||||
Since all entities exposed by pg_graphql require primary keys, we must define that constraint for the view using a comment directive
|
||||
Since all entities exposed by `pg_graphql` require primary keys, we must define that constraint for the view. We do that using a comment directive:
|
||||
|
||||
```sql
|
||||
comment on view "ProjectOwner"
|
||||
|
||||
Reference in new issue
Block a user