From d00044ce3aee4f8f50d701c4fb7ffd8cf8939f1c Mon Sep 17 00:00:00 2001 From: Oliver Rice Date: Wed, 19 Apr 2023 09:11:50 -0500 Subject: [PATCH] Update apps/www/_blog/2023-04-19-whats-new-in-pg-graphql-v1-2.mdx Co-authored-by: Greg Richardson --- apps/www/_blog/2023-04-19-whats-new-in-pg-graphql-v1-2.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/www/_blog/2023-04-19-whats-new-in-pg-graphql-v1-2.mdx b/apps/www/_blog/2023-04-19-whats-new-in-pg-graphql-v1-2.mdx index 9bdbf00431c..73f6a28a9d5 100644 --- a/apps/www/_blog/2023-04-19-whats-new-in-pg-graphql-v1-2.mdx +++ b/apps/www/_blog/2023-04-19-whats-new-in-pg-graphql-v1-2.mdx @@ -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"