Method

GomRepositorymutate

Declaration

DexFuture*
gom_repository_mutate (
  GomRepository* self,
  GomMutation* mutation
)

Description

Performs mutation and returns a cursor at some point in the future.

Parameters

mutation

Type: GomMutation

A GomMutation to perform.

The data is owned by the caller of the method.

Return value

Type: DexFuture

A DexFuture that resolves to a GomCursor or rejects with error.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.