![]() |
Qore pgsql Module 3.1.1
|
Modules | |
Option Constangs for the pgsql Module | |
Type Constants for pgsql_bind() | |
Namespaces | |
namespace | Qore::Pgsql |
Pgsql namespace. | |
Functions | |
hash | Qore::Pgsql::pgsql_bind (softint type, auto value) |
Creates a hash data structure understood by the pgsql DBI driver when binding values in SQL queries that allows programmers to directly specify the PostgreSQL data type for the bind. More... | |
hash | Qore::Pgsql::pgsql_bind_array (*softlist< auto > value) |
Creates a data structure understood by the pgsql DBI driver when binding array values in SQL queries. More... | |
hash Qore::Pgsql::pgsql_bind | ( | softint | type, |
auto | value | ||
) |
Creates a hash data structure understood by the pgsql DBI driver when binding values in SQL queries that allows programmers to directly specify the PostgreSQL data type for the bind.
Use the Type Constants for pgsql_bind() to specify the PostgreSQL data type for the bind. If the value to bind is NOTHING
or NULL
, a NULL
will be bound as the value, regardless of the PostgreSQL type code provided as the first argument.
type | the type code for the PostgreSQL type to bind |
value | the value to bind |
"^pgtype^"
and "^value^"
keysPGSQL-BIND-ERROR | if the type argument is 0 this exception is raised |
hash Qore::Pgsql::pgsql_bind_array | ( | *softlist< auto > | value | ) |
Creates a data structure understood by the pgsql DBI driver when binding array values in SQL queries.
value | the list to bind as an array |