graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.GraphQL.Schema.Update.Batch

Synopsis

Documentation

updateTable Source #

Construct a root field, normally called update_tablename, that can be used to update rows in a DB table specified by filters. Only returns a parser if there are columns the user is allowed to update; otherwise returns Nothing.

updateTableByPk Source #

Construct a root field, normally called update_tablename_by_pk, that can be used to update a single in a DB table, specified by primary key. Only returns a parser if there are columns the user is allowed to update and if the user has select permissions on all primary keys; otherwise returns Nothing.