#include <eiendb_mysql.hpp>
|
| MysqlStatement (MysqlConnection *cnn) |
|
| MysqlStatement (MysqlConnection *cnn, winux::String const &sql) |
|
| MysqlStatement (MysqlConnection *cnn, winux::String const &sql, winux::Mixed const ¶ms) |
|
| MysqlStatement (MysqlConnection *cnn, winux::String const &sql, winux::MixedArray const ¶ms) |
|
| MysqlStatement (MysqlConnection *cnn, winux::String const &sql, winux::StringMixedMap const ¶ms) |
|
virtual | ~MysqlStatement () |
|
virtual bool | build (winux::String const &sql) override |
|
virtual bool | build (winux::String const &sql, winux::Mixed const ¶ms) override |
| 建立一个SQL语句,params可以是array或者collection类型 更多...
|
|
virtual bool | build (winux::String const &sql, winux::MixedArray const ¶ms) override |
| 建立一个SQL语句,绑定参数,params数组的0索引对应参数索引1,依此类推 更多...
|
|
virtual bool | build (winux::String const &sql, winux::StringMixedMap const ¶ms) override |
| 建立一个SQL语句,绑定参数,SQL中参数名前要加':' 更多...
|
|
virtual bool | bind (size_t paramIndex, winux::Mixed const &val) override |
|
virtual bool | bind (winux::String const ¶mName, winux::Mixed const &val) override |
|
| operator bool () const |
|
MysqlConnection * | getCnn () const |
|
winux::String const & | getSql () |
|
winux::Mixed const & | getParam (size_t paramIndex) const |
|
winux::Mixed const & | getParam (winux::String const ¶mName) const |
|
virtual | ~IDbStatement () |
|
virtual eiendb::MysqlStatement::~MysqlStatement |
( |
| ) |
|
|
virtual |
virtual bool eiendb::MysqlStatement::bind |
( |
size_t |
paramIndex, |
|
|
winux::Mixed const & |
val |
|
) |
| |
|
overridevirtual |
virtual bool eiendb::MysqlStatement::build |
( |
winux::String const & |
sql | ) |
|
|
overridevirtual |
winux::Mixed const& eiendb::MysqlStatement::getParam |
( |
size_t |
paramIndex | ) |
const |
eiendb::MysqlStatement::operator bool |
( |
| ) |
const |
|
inline |
该类的文档由以下文件生成: