INPUT_OBJECT

TriggerInput

TriggerInput is used to construct Trigger

link GraphQL Schema definition

  • input TriggerInput {
  • # name is the unique name of the constraint
  • name: String!
  • # gtype is the type of object the constraint will be applied to (ex: user)
  • gtype: String!
  • # trigger is the arrow syntax expression that mutates the doc/connection before it
  • # is stored ref: https://github.com/graphikDB/trigger
  • trigger: String!
  • # if target_docs is true, this constraint will be applied to documents.
  • target_docs: Boolean!
  • # if target_connections is true, this constraint will be applied to connections.
  • target_connections: Boolean!
  • }