Function getArrayParser

Synopsis

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

ArrayParser getArrayParser() const

Description

Parse the field as an SQL array.

Call the parser to retrieve values (and structure) from the array.

Make sure the result object stays alive until parsing is finished. If you keep the row of field object alive, it will keep the result object alive as well.

Source

Lines 116-119 in orm_lib/inc/drogon/orm/Field.h.

ArrayParser getArrayParser() const
{
    return ArrayParser(result_.getValue(row_, column_));
}





Add Discussion as Guest

Log in to DocsForge