GraphQL Mutations
How-to use mutations to insert data into the ObjectBox GraphQL database
How to write mutations
Mutation name
Arguments
Rerurn ID(s)
Examples of mutations
Put new or existing object
mutation putOne {
putTestEntity(
input: {simpleBoolean: true}
) {
returning {
id
}
}
}Put multiple objects
Delete
Delete all
Last updated