Method

PgsqlParamsadd_bytea

Declaration

void
pgsql_params_add_bytea (
  PgsqlParams* self,
  GBytes* value
)

Description

Adds binary data parameter as PostgreSQL BYTEA type.

The value will be converted to PostgreSQL hex format. If value is NULL, a NULL parameter will be added.

Parameters

value

Type: GBytes

The binary data to add.

The argument can be NULL.
The data is owned by the caller of the method.