Method

PgsqlBatchnext_result

Declaration

DexFuture*
pgsql_batch_next_result (
  PgsqlBatch* self
)

Description

Gets the next result from the pipeline. This should be called after sending queries and sync points. Returns NULL when all results are collected.

Return value

Type: DexFuture

A DexFuture that resolves to a PgsqlResult or NULL, or rejects with error.

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