Function operator bool

Synopsis

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

explicit operator bool() const

Description

Check if the condition is empty.

Return
true means the condition is not empty.
Return
false means the condition is empty.

Source

Lines 57-60 in orm_lib/inc/drogon/orm/Criteria.h.

explicit operator bool() const
{
    return !conditionString_.empty();
}





Add Discussion as Guest

Log in to DocsForge