Function forUpdate

Synopsis

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

Mapper< T > & forUpdate()

Description

Lock the result for updating.

Return
Mapper<T>& The Mapper itself.

Source

Lines 1543-1548 in orm_lib/inc/drogon/orm/Mapper.h. Line 166 in orm_lib/inc/drogon/orm/Mapper.h.

template <typename T>
inline Mapper<T> &Mapper<T>::forUpdate()
{
    forUpdate_ = true;
    return *this;
}





Add Discussion as Guest

Log in to DocsForge