C# Class Deveel.Data.Sql.SortColumn

Object used to represent a column in the ORDER BY clauses of a select statement.
Inheritance: IPreparable
Mostrar archivo Open project: deveel/deveeldb

Public Methods

Method Description
SortColumn ( SqlExpression expression ) : System

Constructs the BY column reference with the expression given and the ascending sort order.

SortColumn ( SqlExpression expression, bool ascending ) : System

Constructs the BY column reference with the expression and the sort order given.

SortColumn ( string expression ) : System

Constructs the BY column reference with the expression given and the ascending sort order.

SortColumn ( string expression, bool ascending ) : System

Constructs the BY column reference with the expression and the sort order given.

Private Methods

Method Description
IPreparable ( IExpressionPreparer preparer ) : object

Method Details

SortColumn() public method

Constructs the BY column reference with the expression given and the ascending sort order.
public SortColumn ( SqlExpression expression ) : System
expression Deveel.Data.Sql.Expressions.SqlExpression The expression of the column reference.
return System

SortColumn() public method

Constructs the BY column reference with the expression and the sort order given.
public SortColumn ( SqlExpression expression, bool ascending ) : System
expression Deveel.Data.Sql.Expressions.SqlExpression The expression of the column reference.
ascending bool The sort order for the column. If this is /// set to true, the column will be used to sort the results of /// a query in ascending order.
return System

SortColumn() public method

Constructs the BY column reference with the expression given and the ascending sort order.
public SortColumn ( string expression ) : System
expression string The expression of the column reference.
return System

SortColumn() public method

Constructs the BY column reference with the expression and the sort order given.
public SortColumn ( string expression, bool ascending ) : System
expression string The expression of the column reference.
ascending bool The sort order for the column. If this is /// set to true, the column will be used to sort the results of /// a query in ascending order.
return System