Function disableMasquerading

Synopsis

#include <orm_lib/inc/drogon/orm/RestfulController.h>

void disableMasquerading()

Description

No description yet.

Source

Lines 44-53 in orm_lib/inc/drogon/orm/RestfulController.h.

void disableMasquerading()
{
    masquerading_ = false;
    masqueradingVector_ = columnsVector_;
    for (size_t i = 0; i < masqueradingVector_.size(); ++i)
    {
        masqueradingMap_.insert(
            std::pair<std::string, size_t>{masqueradingVector_[i], i});
    }
}





Add Discussion as Guest

Log in to DocsForge