|
|
| ASqlBuilder (const AString &tableName) |
| |
| Insert | insert (const AStringVector &columnNames) |
| | Does the INSERT query to DB.
|
| |
| template<typename... Args> |
| Insert | ins (Args &&... args) |
| | Does the INSERT query to DB.
|
| |
| Select | select (const AStringVector &columnNames={}) |
| | Does the SELECT query to DB.
|
| |
| template<typename... Args> |
| Select | sel (Args &&... args) |
| | Does the SELECT query to DB.
|
| |
| Update | update (const AMap< AString, AVariant > &data={}) |
| | Does the UPDATE query to DB.
|
| |
| Delete | remove () |
| | Does the DELETE query to DB.
|
| |
| template<typename Model> |
| id_t | insertORM (const Model &model) |
| | Inserts ORM object.
|
| |
| template<typename Model> |
| void | updateORM (const Model &model) |
| | Updates ORM object.
|
| |
| template<typename Model> |
| void | removeORM (const Model &model) |
| | Removes ORM object.
|
| |