Function operator<<

Summary

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

(1) internal::SqlBinder operator<<(const std::string &sql)

(2) internal::SqlBinder operator<<(std::string &&sql)

(3) template <int N>
    internal::SqlBinder operator<<(const char(&sql)[N])

(4) internal::SqlBinder operator<<(const string_view &sql)

Function overload

Synopsis

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

internal::SqlBinder operator<<(const std::string &sql)

Description

Streaming-like method for sql execution. For more information, see the wiki page.

Source

Line 154 in orm_lib/inc/drogon/orm/DbClient.h.

Synopsis

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

internal::SqlBinder operator<<(std::string &&sql)

Description

No description yet.

Source

Line 155 in orm_lib/inc/drogon/orm/DbClient.h.

Synopsis

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

template <int N>
internal::SqlBinder operator<<(const char(&sql)[N])

Description

No description yet.

Source

Lines 156-160 in orm_lib/inc/drogon/orm/DbClient.h.

template <int N>
internal::SqlBinder operator<<(const char (&sql)[N])
{
    return internal::SqlBinder(sql, N - 1, *this, type_);
}

Synopsis

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

internal::SqlBinder operator<<(const string_view &sql)

Description

No description yet.

Source

Lines 161-164 in orm_lib/inc/drogon/orm/DbClient.h.

internal::SqlBinder operator<<(const string_view &sql)
{
    return internal::SqlBinder(sql.data(), sql.length(), *this, type_);
}





Add Discussion as Guest

Log in to DocsForge