![]() |
Qore odbc Module
1.0.0
|
Modules | |
| Type Constants for odbc_bind() | |
Namespaces | |
| Qore::odbc | |
| odbc namespace | |
Functions | |
| hash | Qore::odbc::odbc_bind (softint type, auto value) |
| Creates a hash data structure understood by the ODBC DBI driver when binding values in SQL queries that allows programmers to directly specify the ODBC data type for the bind. More... | |
| hash Qore::odbc::odbc_bind | ( | softint | type, |
| auto | value | ||
| ) |
Creates a hash data structure understood by the ODBC DBI driver when binding values in SQL queries that allows programmers to directly specify the ODBC data type for the bind.
Use the Type Constants for odbc_bind() to specify the ODBC 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 ODBC type code provided as the first argument.
| type | the type code for the ODBC type to bind |
| value | the value to bind |
"^odbct^" and "^value^" keys| DBI:ODBC:BIND-ERROR | if the type argument is 0 this exception is raised |