32 #include "api_database.h"
42 class DBCommandProvider;
63 DBCommand(
const std::shared_ptr<DBCommand_Impl> &impl);
72 int get_input_parameter_column(
const std::string &name)
const;
75 int get_output_last_insert_rowid()
const;
85 void set_input_parameter_string(
int index,
const std::string &value);
88 void set_input_parameter_bool(
int index,
bool value);
91 void set_input_parameter_int(
int index,
int value);
94 void set_input_parameter_double(
int index,
double value);
97 void set_input_parameter_datetime(
int index,
const DateTime &value);
100 void set_input_parameter_binary(
int index,
const DataBuffer &value);
103 template<
class ValueType>
104 void set_input_parameter(
int index, ValueType value);
107 template<
class ValueType>
108 void set_input_parameter(
const std::string &name, ValueType value);
115 std::shared_ptr<DBCommand_Impl> impl;
Database command.
Definition: db_command.h:46
Date/Time class.
Definition: datetime.h:44
Database command provider.
Definition: db_command_provider.h:43
Definition: db_command.h:53
Type
Definition: db_command.h:51
General purpose data buffer.
Definition: databuffer.h:43