Method

PgsqlParamsadd_date_time

Declaration

void
pgsql_params_add_date_time (
  PgsqlParams* self,
  GDateTime* value
)

Description

Adds a date/time parameter as PostgreSQL TIMESTAMPTZ type (with time zone).

The value will be formatted in ISO 8601 format which PostgreSQL accepts for timestamp with time zone values. If value is NULL, a NULL parameter will be added.

Parameters

value

Type: GDateTime

The GDateTime to add.

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