LeechCraft 0.6.70-14794-g33744ae6ce
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::oral::detail::SelectWrapperCommon Class Reference

#include "oral.h"

+ Inheritance diagram for LC::Util::oral::detail::SelectWrapperCommon:

Protected Member Functions

 SelectWrapperCommon (const QSqlDatabase &db, const QString &limitNone)
 
auto RunQuery (const QString &fields, const QString &from, QString where, std::function< void(QSqlQuery &)> &&binder, const QString &orderStr, const QString &groupStr, const QString &limitOffsetStr) const
 
QString HandleLimitOffset (LimitNone, OffsetNone) const noexcept
 
QString HandleLimitOffset (Limit limit, OffsetNone) const noexcept
 
template<typename L >
QString HandleLimitOffset (L limit, Offset offset) const noexcept
 

Protected Attributes

const QSqlDatabase DB_
 
const QString LimitNone_
 

Detailed Description

Definition at line 1125 of file oral.h.

Constructor & Destructor Documentation

◆ SelectWrapperCommon()

LC::Util::oral::detail::SelectWrapperCommon::SelectWrapperCommon ( const QSqlDatabase & db,
const QString & limitNone )
inlineprotected

Definition at line 1131 of file oral.h.

Member Function Documentation

◆ HandleLimitOffset() [1/3]

template<typename L >
QString LC::Util::oral::detail::SelectWrapperCommon::HandleLimitOffset ( L limit,
Offset offset ) const
inlineprotectednoexcept

Definition at line 1178 of file oral.h.

References LC::Util::Filter(), and LimitNone_.

+ Here is the call graph for this function:

◆ HandleLimitOffset() [2/3]

QString LC::Util::oral::detail::SelectWrapperCommon::HandleLimitOffset ( Limit limit,
OffsetNone  ) const
inlineprotectednoexcept

Definition at line 1172 of file oral.h.

References LC::Util::Filter().

+ Here is the call graph for this function:

◆ HandleLimitOffset() [3/3]

QString LC::Util::oral::detail::SelectWrapperCommon::HandleLimitOffset ( LimitNone ,
OffsetNone  ) const
inlineprotectednoexcept

Definition at line 1167 of file oral.h.

◆ RunQuery()

auto LC::Util::oral::detail::SelectWrapperCommon::RunQuery ( const QString & fields,
const QString & from,
QString where,
std::function< void(QSqlQuery &)> && binder,
const QString & orderStr,
const QString & groupStr,
const QString & limitOffsetStr ) const
inlineprotected

Definition at line 1137 of file oral.h.

References DB_, LC::Util::DBLock::DumpError(), and LC::Util::Filter().

+ Here is the call graph for this function:

Member Data Documentation

◆ DB_

const QSqlDatabase LC::Util::oral::detail::SelectWrapperCommon::DB_
protected

Definition at line 1128 of file oral.h.

Referenced by RunQuery().

◆ LimitNone_

const QString LC::Util::oral::detail::SelectWrapperCommon::LimitNone_
protected

Definition at line 1129 of file oral.h.

Referenced by HandleLimitOffset().


The documentation for this class was generated from the following file: