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