Class
PgsqlParams
Description
final class Pgsql.Params : GObject.Object
{
/* No available fields */
}
A container for PostgreSQL query parameters.
PgsqlParams is used to build parameterized queries for PostgreSQL
databases. It provides type-safe methods to add parameters of various
PostgreSQL types, which are then used when executing queries through
pgsql_connection_query().
Parameters are added in order using the various pgsql_params_add_*()
methods. Once a PgsqlParams object is used in a query, it becomes
frozen and cannot be modified further.
Instance methods
pgsql_params_add_date_time
Adds a date/time parameter as PostgreSQL TIMESTAMPTZ type (with time zone).
pgsql_params_add_timestamp
Adds a timestamp parameter as PostgreSQL TIMESTAMP type (without time zone).
pgsql_params_add_timestamptz
Adds a timestamp parameter as PostgreSQL TIMESTAMPTZ type (with time zone).
pgsql_params_add_varchar
Adds a variable-length character string parameter as PostgreSQL VARCHAR type.
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.