MySQL Connector/C++
MySQL connector library for C and C++ applications
Public Member Functions | List of all members
Order_by< Base > Class Template Reference

Template for defining fluent api for CRUD operations. More...

Public Member Functions

template<typename... Type>
Operation & orderBy (Type... spec)
 Specify ordering of rows in a query results. More...
 

Detailed Description

template<class Base>
class mysqlx::abi2::r0::internal::Order_by< Base >

Template for defining fluent api for CRUD operations.

Member Function Documentation

◆ orderBy()

Operation & orderBy ( Type...  spec)
inline

Specify ordering of rows in a query results.

Arguments are one or more strings of the form "<expr> <dir>" where <expr> gives the value to sort on and <dir> is a sorting direction ASC or DESC.


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