Qore Programming Language 1.16.1
|
This is the public class for DBI drivers supporting Qore's new prepared statement API. More...
#include <SQLStatement.h>
Inherited by QoreSQLStatement.
Public Member Methods | |
DLLEXPORT Datasource * | getDatasource () const |
returns the Datasource bound to this statement More... | |
DLLEXPORT void * | getPrivateData () const |
returns the private DBI-specific data structure for this object | |
template<typename T > | |
DLLLOCAL T * | getPrivateData () const |
returns the private DBI-specific data structure for this object More... | |
DLLEXPORT void | setPrivateData (void *data) |
sets the private DBI-specific data structure for this object More... | |
DLLEXPORT void * | takePrivateData () |
returns the private DBI-specific data structure for this object and clears the object | |
template<typename T > | |
DLLLOCAL T * | takePrivateData () |
returns the private DBI-specific data structure for this object and clears the object More... | |
This is the public class for DBI drivers supporting Qore's new prepared statement API.
DLLEXPORT Datasource * SQLStatement::getDatasource | ( | ) | const |
returns the Datasource bound to this statement
|
inline |
returns the private DBI-specific data structure for this object
References getPrivateData().
DLLEXPORT void SQLStatement::setPrivateData | ( | void * | data | ) |
sets the private DBI-specific data structure for this object
this should only be called once in the actual DBI driver code
data | the data for the DBI driver that holds the driver-specific state of the connection |
|
inline |
returns the private DBI-specific data structure for this object and clears the object
References takePrivateData().