KDb

OrderByColumnInternal Struct Reference

#include <KDbSqlTypes.h>

Public Member Functions

void setColumnByNameOrNumber (const QVariant &nameOrNumber)
 

Public Attributes

QString aliasOrName
 
int columnNumber
 
KDbOrderByColumn::SortOrder order
 

Detailed Description

Definition at line 41 of file KDbSqlTypes.h.

Constructor & Destructor Documentation

◆ OrderByColumnInternal()

OrderByColumnInternal::OrderByColumnInternal ( )
inline

Definition at line 43 of file KDbSqlTypes.h.

Member Function Documentation

◆ setColumnByNameOrNumber()

void OrderByColumnInternal::setColumnByNameOrNumber ( const QVariant & nameOrNumber)
inline

Definition at line 48 of file KDbSqlTypes.h.

Member Data Documentation

◆ aliasOrName

QString OrderByColumnInternal::aliasOrName

Can include a "tablename." prefix.

Definition at line 59 of file KDbSqlTypes.h.

◆ columnNumber

int OrderByColumnInternal::columnNumber

Optional, used instead of aliasOrName to refer to column by its number rather than name.

Definition at line 62 of file KDbSqlTypes.h.

◆ order

KDbOrderByColumn::SortOrder OrderByColumnInternal::order

Definition at line 63 of file KDbSqlTypes.h.


The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.