Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSqlQueryModelSql Class Reference

#include <qsqlquerymodel_p.h>

+ Inheritance diagram for QSqlQueryModelSql:
+ Collaboration diagram for QSqlQueryModelSql:

Static Public Member Functions

static const QLatin1StringView as ()
 
static const QLatin1StringView asc ()
 
static const QLatin1StringView comma ()
 
static const QLatin1StringView desc ()
 
static const QLatin1StringView eq ()
 
static const QLatin1StringView et ()
 
static const QLatin1StringView from ()
 
static const QLatin1StringView leftJoin ()
 
static const QLatin1StringView on ()
 
static const QLatin1StringView orderBy ()
 
static const QLatin1StringView parenClose ()
 
static const QLatin1StringView parenOpen ()
 
static const QLatin1StringView select ()
 
static const QLatin1StringView sp ()
 
static const QLatin1StringView where ()
 
static const QString as (const QString &a, const QString &b)
 
static const QString asc (const QString &s)
 
static const QString comma (const QString &a, const QString &b)
 
static const QString concat (const QString &a, const QString &b)
 
static const QString desc (const QString &s)
 
static const QString eq (const QString &a, const QString &b)
 
static const QString et (const QString &a, const QString &b)
 
static const QString from (const QString &s)
 
static const QString leftJoin (const QString &s)
 
static const QString on (const QString &s)
 
static const QString orderBy (const QString &s)
 
static const QString paren (const QString &s)
 
static const QString select (const QString &s)
 
static const QString where (const QString &s)
 

Detailed Description

Definition at line 53 of file qsqlquerymodel_p.h.

Member Function Documentation

◆ as() [1/2]

static const QLatin1StringView QSqlQueryModelSql::as ( )
inlinestatic

Definition at line 57 of file qsqlquerymodel_p.h.

Referenced by QSqlRelationalTableModel::selectStatement().

+ Here is the caller graph for this function:

◆ as() [2/2]

static const QString QSqlQueryModelSql::as ( const QString & a,
const QString & b )
inlinestatic

Definition at line 75 of file qsqlquerymodel_p.h.

References as(), and concat().

Referenced by as().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ asc() [1/2]

static const QLatin1StringView QSqlQueryModelSql::asc ( )
inlinestatic

Definition at line 58 of file qsqlquerymodel_p.h.

Referenced by QSqlTableModel::orderByClause(), and QSqlRelationalTableModel::orderByClause().

+ Here is the caller graph for this function:

◆ asc() [2/2]

static const QString QSqlQueryModelSql::asc ( const QString & s)
inlinestatic

Definition at line 76 of file qsqlquerymodel_p.h.

References asc(), and concat().

Referenced by asc().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ comma() [1/2]

static const QLatin1StringView QSqlQueryModelSql::comma ( )
inlinestatic

Definition at line 59 of file qsqlquerymodel_p.h.

Referenced by QSqlRelationalTableModel::selectStatement().

+ Here is the caller graph for this function:

◆ comma() [2/2]

static const QString QSqlQueryModelSql::comma ( const QString & a,
const QString & b )
inlinestatic

Definition at line 77 of file qsqlquerymodel_p.h.

References QString::append(), and comma().

Referenced by comma().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ concat()

static const QString QSqlQueryModelSql::concat ( const QString & a,
const QString & b )
inlinestatic

Definition at line 78 of file qsqlquerymodel_p.h.

References QString::append(), and sp().

Referenced by as(), asc(), QSqlTableModel::deleteRowFromTable(), desc(), et(), from(), leftJoin(), on(), orderBy(), select(), QSqlTableModel::selectStatement(), QSqlRelationalTableModel::selectStatement(), QSqlTableModel::updateRowInTable(), and where().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ desc() [1/2]

static const QLatin1StringView QSqlQueryModelSql::desc ( )
inlinestatic

Definition at line 60 of file qsqlquerymodel_p.h.

Referenced by QSqlTableModel::orderByClause(), and QSqlRelationalTableModel::orderByClause().

+ Here is the caller graph for this function:

◆ desc() [2/2]

static const QString QSqlQueryModelSql::desc ( const QString & s)
inlinestatic

Definition at line 79 of file qsqlquerymodel_p.h.

References concat(), and desc().

Referenced by desc().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ eq() [1/2]

static const QLatin1StringView QSqlQueryModelSql::eq ( )
inlinestatic

Definition at line 61 of file qsqlquerymodel_p.h.

Referenced by QSqlRelationalTableModel::selectStatement().

+ Here is the caller graph for this function:

◆ eq() [2/2]

static const QString QSqlQueryModelSql::eq ( const QString & a,
const QString & b )
inlinestatic

Definition at line 80 of file qsqlquerymodel_p.h.

References QString::append(), and eq().

Referenced by eq().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ et() [1/2]

static const QLatin1StringView QSqlQueryModelSql::et ( )
inlinestatic

Definition at line 63 of file qsqlquerymodel_p.h.

Referenced by QSqlRelationalTableModel::selectStatement().

+ Here is the caller graph for this function:

◆ et() [2/2]

static const QString QSqlQueryModelSql::et ( const QString & a,
const QString & b )
inlinestatic

Definition at line 81 of file qsqlquerymodel_p.h.

References concat(), and et().

Referenced by et().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ from() [1/2]

static const QLatin1StringView QSqlQueryModelSql::from ( )
inlinestatic

Definition at line 64 of file qsqlquerymodel_p.h.

Referenced by QSqlRelationalTableModel::selectStatement().

+ Here is the caller graph for this function:

◆ from() [2/2]

static const QString QSqlQueryModelSql::from ( const QString & s)
inlinestatic

Definition at line 82 of file qsqlquerymodel_p.h.

References concat(), and from().

Referenced by from().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ leftJoin() [1/2]

static const QLatin1StringView QSqlQueryModelSql::leftJoin ( )
inlinestatic

Definition at line 65 of file qsqlquerymodel_p.h.

Referenced by QSqlRelationalTableModel::selectStatement().

+ Here is the caller graph for this function:

◆ leftJoin() [2/2]

static const QString QSqlQueryModelSql::leftJoin ( const QString & s)
inlinestatic

Definition at line 83 of file qsqlquerymodel_p.h.

References concat(), and leftJoin().

Referenced by leftJoin().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ on() [1/2]

static const QLatin1StringView QSqlQueryModelSql::on ( )
inlinestatic

Definition at line 66 of file qsqlquerymodel_p.h.

Referenced by QSqlRelationalTableModel::selectStatement().

+ Here is the caller graph for this function:

◆ on() [2/2]

static const QString QSqlQueryModelSql::on ( const QString & s)
inlinestatic

Definition at line 84 of file qsqlquerymodel_p.h.

References concat(), and on().

Referenced by on().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ orderBy() [1/2]

static const QLatin1StringView QSqlQueryModelSql::orderBy ( )
inlinestatic

Definition at line 67 of file qsqlquerymodel_p.h.

Referenced by QSqlTableModel::orderByClause(), and QSqlRelationalTableModel::orderByClause().

+ Here is the caller graph for this function:

◆ orderBy() [2/2]

static const QString QSqlQueryModelSql::orderBy ( const QString & s)
inlinestatic

Definition at line 85 of file qsqlquerymodel_p.h.

References concat(), and orderBy().

Referenced by orderBy().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ paren()

static const QString QSqlQueryModelSql::paren ( const QString & s)
inlinestatic

Definition at line 86 of file qsqlquerymodel_p.h.

References parenClose(), and parenOpen().

Referenced by QSqlRelationalTableModel::selectStatement().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parenClose()

static const QLatin1StringView QSqlQueryModelSql::parenClose ( )
inlinestatic

Definition at line 68 of file qsqlquerymodel_p.h.

Referenced by paren().

+ Here is the caller graph for this function:

◆ parenOpen()

static const QLatin1StringView QSqlQueryModelSql::parenOpen ( )
inlinestatic

Definition at line 69 of file qsqlquerymodel_p.h.

Referenced by paren().

+ Here is the caller graph for this function:

◆ select() [1/2]

static const QLatin1StringView QSqlQueryModelSql::select ( )
inlinestatic

Definition at line 70 of file qsqlquerymodel_p.h.

Referenced by QSqlRelationalTableModel::selectStatement().

+ Here is the caller graph for this function:

◆ select() [2/2]

static const QString QSqlQueryModelSql::select ( const QString & s)
inlinestatic

Definition at line 87 of file qsqlquerymodel_p.h.

References concat(), and select().

Referenced by select().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sp()

static const QLatin1StringView QSqlQueryModelSql::sp ( )
inlinestatic

Definition at line 71 of file qsqlquerymodel_p.h.

Referenced by concat(), and QSqlTableModel::selectRow().

+ Here is the caller graph for this function:

◆ where() [1/2]

static const QLatin1StringView QSqlQueryModelSql::where ( )
inlinestatic

Definition at line 72 of file qsqlquerymodel_p.h.

Referenced by QSqlTableModel::selectRow(), QSqlTableModel::selectStatement(), and QSqlRelationalTableModel::selectStatement().

+ Here is the caller graph for this function:

◆ where() [2/2]

static const QString QSqlQueryModelSql::where ( const QString & s)
inlinestatic

Definition at line 88 of file qsqlquerymodel_p.h.

References concat(), and where().

Referenced by where().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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