Method

PgsqlParamsadd_numeric

Declaration

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

Description

Adds a numeric parameter as PostgreSQL NUMERIC type.

The value should be a string representation of the numeric value (e.g., “123.456”).

Parameters

value

Type: const char*

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