Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InsertPermission

Hierarchy

  • InsertPermission

Index

Properties

Optional backend_only

backend_only: boolean

When set to true the mutation is accessible only if x-hasura-use-backend-only-permissions session variable exists and is set to true and request is made with x-hasura-admin-secret set if any auth is configured

Optional check

check: {}

This expression has to hold true for every new row that is inserted

Type declaration

  • [key: string]: object | string | number

columns

columns: PGColumn[] | "*"

Can insert into only these columns (or all when '*' is specified)

Optional set

Preset values for columns that can be sourced from session variables or static values

Generated using TypeDoc