#include <query_rest_table_updater.h>
|
| JsonMappingUpdater (std::shared_ptr< Object > view, const ObjectRowOwnership &row_ownership_info={}) |
|
void | check (const rapidjson::Document &doc, bool for_update=false) const |
|
PrimaryKeyColumnValues | insert (MySQLSession *session, const rapidjson::Document &doc) |
|
PrimaryKeyColumnValues | update (MySQLSession *session, const PrimaryKeyColumnValues &pk_values, const rapidjson::Document &doc, bool upsert=false) |
|
uint64_t | delete_ (MySQLSession *session, const PrimaryKeyColumnValues &pk_values) |
|
uint64_t | delete_ (MySQLSession *session, const FilterObjectGenerator &filter) |
|
const ObjectRowOwnership & | row_ownership_info () const |
|
size_t | affected () const |
|
virtual | ~QueryRaw ()=default |
|
virtual void | execute (MySQLSession *session) |
|
virtual void | query (MySQLSession *session, const std::string &q) |
|
virtual void | prepare_and_execute (MySQLSession *session, const std::string &q, std::vector< MYSQL_BIND > pt, const OnResultSetEnd &on_resultset_end) |
|
std::unique_ptr< MySQLSession::ResultRow > | query_one (MySQLSession *session) |
|
std::unique_ptr< MySQLSession::ResultRow > | query_one (MySQLSession *session, const std::string &q) |
|
virtual void | on_row (const ResultRow &r) |
|
virtual void | on_metadata (unsigned number, MYSQL_FIELD *fields) |
|
◆ Object
◆ JsonMappingUpdater()
mrs::database::dv::JsonMappingUpdater::JsonMappingUpdater |
( |
std::shared_ptr< Object > |
view, |
|
|
const ObjectRowOwnership & |
row_ownership_info = {} |
|
) |
| |
|
explicit |
◆ affected()
size_t mrs::database::dv::JsonMappingUpdater::affected |
( |
| ) |
const |
|
inline |
◆ check()
void mrs::database::dv::JsonMappingUpdater::check |
( |
const rapidjson::Document & |
doc, |
|
|
bool |
for_update = false |
|
) |
| const |
◆ check_etag()
void mrs::database::dv::JsonMappingUpdater::check_etag |
( |
const std::string & |
original_doc, |
|
|
const rapidjson::Document & |
new_doc |
|
) |
| const |
|
private |
◆ delete_() [1/2]
◆ delete_() [2/2]
◆ insert()
◆ row_ownership_info()
const ObjectRowOwnership & mrs::database::dv::JsonMappingUpdater::row_ownership_info |
( |
| ) |
const |
|
inline |
◆ select_one()
◆ update()
◆ m_affected
size_t mrs::database::dv::JsonMappingUpdater::m_affected = 0 |
|
private |
◆ m_row_ownership_info
◆ view_
std::shared_ptr<Object> mrs::database::dv::JsonMappingUpdater::view_ |
|
private |
The documentation for this class was generated from the following files: