#include <db_command.h>
Construction | |
| enum | Type { stored_procedure, sql_statement } |
| CL_DBCommand () | |
| Constructs a database command. | |
| CL_DBCommand (const CL_SharedPtr< CL_DBCommand_Impl > &impl) | |
| Constructs a DBCommand. | |
| ~CL_DBCommand () | |
Public Member Functions | |
Attributes | |
| int | get_input_parameter_column (const CL_StringRef &name) const |
| Returns the index for a given input parameter name. | |
| int | get_output_last_insert_rowid () const |
| Returns the output parameter containing the row id of the last inserted row. | |
| CL_DBCommandProvider * | get_provider () |
| Returns the provider interface for this command. | |
Operations | |
| void | set_input_parameter_string (int index, const CL_StringRef &value) |
| Sets the specified input parameter index from a string value. | |
| void | set_input_parameter_bool (int index, bool value) |
| Sets the specified input parameter index from a boolean value. | |
| void | set_input_parameter_int (int index, int value) |
| Sets the specified input parameter index from an integer value. | |
| void | set_input_parameter_double (int index, double value) |
| Sets the specified input parameter index from a double value. | |
| void | set_input_parameter_datetime (int index, const CL_DateTime &value) |
| Sets the specified input parameter index from a CL_DateTime value. | |
| void | set_input_parameter_binary (int index, const CL_DataBuffer &value) |
| Sets the specified input parameter index from a CL_DataBuffer value. | |
|
|
|
|
|
Constructs a database command.
|
|
|
Constructs a DBCommand.
|
|
|
|
|
|
Returns the index for a given input parameter name.
|
|
|
Returns the output parameter containing the row id of the last inserted row.
|
|
|
Returns the provider interface for this command.
|
|
||||||||||||
|
Sets the specified input parameter index from a CL_DataBuffer value.
|
|
||||||||||||
|
Sets the specified input parameter index from a boolean value.
|
|
||||||||||||
|
Sets the specified input parameter index from a CL_DateTime value.
|
|
||||||||||||
|
Sets the specified input parameter index from a double value.
|
|
||||||||||||
|
Sets the specified input parameter index from an integer value.
|
|
||||||||||||
|
Sets the specified input parameter index from a string value.
|
1.4.6