Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/postgresql/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Postgresql 将GraphQL/Prisma字段设置为私有/无法查询_Postgresql_Graphql_Prisma - Fatal编程技术网

Postgresql 将GraphQL/Prisma字段设置为私有/无法查询

Postgresql 将GraphQL/Prisma字段设置为私有/无法查询,postgresql,graphql,prisma,Postgresql,Graphql,Prisma,我正在使用Prisma ORM和GraphQL。 我有一个用户类型,出于明显的原因,我不希望能够查询密码字段。在Prisma或GraphQL(或PostgreSQL)中,有什么方法可以做到这一点吗?目前,您可以使用它来获取所需的字段,而忽略需要私有的字段 有一个相同的请求,将允许排除特定字段。-还不支持吗?

我正在使用Prisma ORM和GraphQL。 我有一个用户类型,出于明显的原因,我不希望能够查询
密码
字段。在Prisma或GraphQL(或PostgreSQL)中,有什么方法可以做到这一点吗?

目前,您可以使用它来获取所需的字段,而忽略需要私有的字段

有一个相同的请求,将允许排除特定字段。

-还不支持吗?