Method

GomRepositoryquery

Declaration

DexFuture*
gom_repository_query (
  GomRepository* self,
  GomQuery* query
)

Description

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

Parameters

query

Type: GomQuery

A GomQuery 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.