|
virtual void | reset () |
| Resets the statement.
|
|
virtual void | bind (int column, const std::string &value) |
| Binds a value to a column.
|
|
virtual void | bind (int column, short value) |
| Binds a value to a column.
|
|
virtual void | bind (int column, int value) |
| Binds a value to a column.
|
|
virtual void | bind (int column, long long value) |
| Binds a value to a column.
|
|
virtual void | bind (int column, float value) |
| Binds a value to a column.
|
|
virtual void | bind (int column, double value) |
| Binds a value to a column.
|
|
virtual void | bind (int column, const boost::posix_time::ptime &value, SqlDateTimeType type) |
| Binds a value to a column.
|
|
virtual void | bind (int column, const boost::posix_time::time_duration &value) |
| Binds a value to a column.
|
|
virtual void | bind (int column, const std::vector< unsigned char > &value) |
| Binds a value to a column.
|
|
virtual void | bindNull (int column) |
| Binds null to a column.
|
|
virtual void | execute () |
| Executes the statement.
|
|
virtual long long | insertedId () |
| Returns the id if the statement was an SQL insert .
|
|
virtual int | affectedRowCount () |
| Returns the affected number of rows. More...
|
|
virtual bool | nextRow () |
| Fetches the next result row. More...
|
|
virtual bool | getResult (int column, std::string *value, int size) |
| Fetches a result value. More...
|
|
virtual bool | getResult (int column, short *value) |
| Fetches a result value. More...
|
|
virtual bool | getResult (int column, int *value) |
| Fetches a result value. More...
|
|
virtual bool | getResult (int column, long long *value) |
| Fetches a result value. More...
|
|
virtual bool | getResult (int column, float *value) |
| Fetches a result value. More...
|
|
virtual bool | getResult (int column, double *value) |
| Fetches a result value. More...
|
|
virtual bool | getResult (int column, boost::posix_time::ptime *value, SqlDateTimeType type) |
| Fetches a result value. More...
|
|
virtual bool | getResult (int column, boost::posix_time::time_duration *value) |
| Fetches a result value. More...
|
|
virtual bool | getResult (int column, std::vector< unsigned char > *value, int size) |
| Fetches a result value. More...
|
|
virtual std::string | sql () const |
| Returns the prepared SQL string.
|
|
virtual | ~SqlStatement () |
| Destructor.
|
|
bool | use () |
| Uses the statement. More...
|
|
void | done () |
| Finish statement use. More...
|
|
MySQL prepared statement.