Method
Mutate
Mutate apply the given mutation on the graph. The returned ent.Value is changing according to the mutation operation: OpCreate, the returned value is the created node (T). OpUpdateOne, the returned value is the updated node (T). OpUpdate, the returned value is the amount of updated nodes (int). OpD
(context.Context, Mutation)
Source from the content-addressed store, hash-verified
| 359 | // OpDeleteOne, OpDelete, the returned value is the amount of deleted nodes (int). |
| 360 | // |
| 361 | Mutate(context.Context, Mutation) (Value, error) |
| 362 | } |
| 363 | |
| 364 | // The MutateFunc type is an adapter to allow the use of ordinary |
Implementers 15
Cliententc/integration/migrate/entv2/client. Cliententc/integration/migrate/entv1/client. Cliententc/integration/migrate/versioned/cli Cliententc/integration/gremlin/ent/client.go Cliententc/integration/ent/client.go Cliententc/integration/idtype/ent/client.go Cliententc/integration/edgefield/ent/client. Cliententc/integration/privacy/ent/client.go Cliententc/integration/edgeschema/ent/client Cliententc/integration/multischema/ent/clien Cliententc/integration/multischema/versioned Cliententc/integration/customid/ent/client.g