GraphQL Data Mutations

Last updated on June 18, 2024.

Use this document as a reference for Common GraphQL Data Mutations.

constant_set

Code example:

Arguments

Name of the constant you want to set.

Value of the constant, which will be securely stored.

Type

constant_unset

Code example:

Arguments

Name of the constant you want to unset.

Type

record_create

Creates a record.

Arguments

Name of the form with whitelist attributes that the system can save. If left blank, all attributes will be allowed. The system will trigger all notifications and callbacks associated with the form.

Type

record_delete

Removes a record.

Arguments

Name of the form with whitelist attributes that the system can save. If left blank, all attributes will be allowed. The system will trigger all notifications and callbacks associated with the form.

Type

record_update

Updates a record.

Arguments

Name of the form with whitelist attributes that the system can save. If left blank, all attributes will be allowed. The system will trigger all notifications and callbacks associated with the form.

Type

records_delete_all

Remove all records. Beware, there is no coming back!

Arguments

Mark this if you want to remove records across all tables.

Set to if you want it to run synchronously.

Type

records_update_all

Update all records matching the filter conditions; use only for small result sets. For bigger results sets, use the feature.

Arguments

Set to if you want it to run synchronously.

Type

user_create

Creates a user.

Arguments

Name of the form with whitelist attributes that the system can save. If left blank, all attributes will be allowed. The system will trigger all notifications and callbacks associated with the form.

Type

user_delete

Deletes a user.

Arguments

Name of the form with whitelist attributes that the system can save. If left blank, all attributes will be allowed. The system will trigger all notifications and callbacks associated with the form.

Type

user_update

Updates the

Arguments

Name of the form with whitelist attributes that the system can save. If left blank, all attributes will be allowed. The system will trigger all notifications and callbacks associated with the form.

When not provided, try using .

Type

users_delete_all

Remove all users. Beware, there is no coming back!

Arguments

If filter options are not specified, you must check this.

Set to if you want it to run synchronously.

Type

users_update_all

Update all users matching the filter conditions; use only for a small result set. For a bigger result set, use the feature.

Arguments

If filter options are not specified, this must be checked.

Set to if you want it to run synchronously.

Type

Reference

You may visit the following resources for more information:

  • Boolean
  • EncryptedConstant
  • ID
  • Model
  • ObjectCount
  • Record
  • RecordInputType
  • RecordsFilterInput
  • String
  • User
  • UserInputType
  • UsersFilterInput
Have a suggestion for this page?

Didn't quite find what you are looking for or have feedback on how we can make the content better then we would love to hear from you. Please provide us feedback and we will get back to you shortly.