Class

PgsqlBatch

Description

final class Pgsql.Batch : GObject.Object
{
  /* No available fields */
}

No description available.

Ancestors

Constructors

pgsql_batch_new

Creates a new batch operation on connection. This enters pipeline mode and allows sending multiple queries without waiting for each to complete.

Instance methods

pgsql_batch_finish

Finishes the batch operation, collecting all remaining results and exiting pipeline mode.

pgsql_batch_next_result

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

pgsql_batch_send

Sends a query in the batch without waiting for results. The query is queued and will be executed as part of the pipeline.

pgsql_batch_sync

Sends a synchronization point. All queries sent before this sync will be executed before queries sent after. Results can be collected after a sync point.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PgsqlBatchClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.