Method

PgsqlParamsadd_string

Declaration

void
pgsql_params_add_string (
  PgsqlParams* self,
  const char* value
)

Description

Adds a string parameter as PostgreSQL TEXT type.

This is equivalent to pgsql_params_add_text().

Parameters

value

Type: const char*

The string value to add.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.