Method

PgsqlParamsadd_date

Declaration

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

Description

Adds a date parameter as PostgreSQL DATE type.

The value should be a string in PostgreSQL date format (e.g., “2025-01-15”).

Parameters

value

Type: const char*

The date 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.