OrderBy class
Represents a list of OrderByClauses, with the most important first and the least important last.
Contents
- Reference
Public functions
- auto OrderBy() -> CORE_EXPORT
- Create a new empty order by.
-
auto OrderBy(const QList<QgsFeatureRequest::
OrderByClause>& other) -> CORE_EXPORT - Create a new order by from a list of clauses.
- auto dump() const -> QString CORE_EXPORT
- Dumps the content to an SQL equivalent syntax.
-
auto list() const -> QList<QgsFeatureRequest::
OrderByClause> CORE_EXPORT - Gets a copy as a list of OrderByClauses.
- auto load(const QDomElement& elem) -> void CORE_EXPORT
- Deserialize from XML.
- auto save(QDomElement& elem) const -> void CORE_EXPORT
- Serialize to XML.
- auto usedAttributes() const -> QSet<QString> CORE_EXPORT
- Returns a set of used attributes.
Function documentation
QList<QgsFeatureRequest:: OrderByClause> CORE_EXPORT QgsFeatureRequest:: OrderBy:: list() const
Gets a copy as a list of OrderByClauses.
This is only required in Python where the inheritance is not properly propagated and this makes it usable.