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