QuerySchemaOrderExpressions.Add

Syntax variant: By field

Syntax:

Add(<Field>)

Parameters:

<Field> (required)

Type: QuerySchemaAvailableField;QuerySchemaColumn;QuerySchemaExpression.
The added available field received from available fields of Source, column or expression.

Description of method variant:

Add order expression by field.

Syntax variant: By string

Syntax:

Add(<ColumnOrExpression>)

Parameters:

<ColumnOrExpression> (required)

Type: String.
First, search for a column is performed by the passed string. If the column is not found, an expression is created for the specified string. If the column is found or the expression is correct, it is added to the collection. Otherwise, an exception with error text is called.

Description of method variant:

Add order expression by string.

Returned value:

Type: QuerySchemaOrderExpression.

Description:

Adds a new collection item and returns it.

Availability:

Server, thick client, external connection.

    

1C:Enterprise Developer's Community