Function Field::as< drogon::string_view >

Synopsis

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

template <>
drogon::string_view Field::as< drogon::string_view >() const

Description

No description yet.

Source

Lines 169-175 in orm_lib/inc/drogon/orm/Field.h.

template <>
inline drogon::string_view Field::as<drogon::string_view>() const
{
    auto first = result_.getValue(row_, column_);
    auto length = result_.getLength(row_, column_);
    return drogon::string_view(first, length);
}





Add Discussion as Guest

Log in to DocsForge