-
Notifications
You must be signed in to change notification settings - Fork 0
The Soql.SortDirection Enum
Jason Siders edited this page Jul 4, 2025
·
6 revisions
Indicates the direction of the SOQL ORDER BY clause.
Use this in conjunction with the addOrderBy builder method, and/or the Soql.SortOrder class.
Soql soql = DatabaseLayer.Soql
?.newQuery(Opportunity.SObjectType)
?.addOrderBy(Opportunity.Amount, Soql.SortDirection.DESCENDING)
?.toSoql();ASCENDINGDESCENDING
- Generating Test Records
- Dml
- Soql
- Cmdt
- Plugins
- DatabaseLayer
- Dml
- MockDml
- MockRecord
- Cmdt
- MockCmdt
- MockSoql
-
Soql
- Soql.AggregateResult
- Soql.Aggregation
- Soql.Binder
- Soql.Builder
- Soql.Condition
- Soql.ConditionalLogic
- Soql.Criteria
- Soql.Cursor
- Soql.Function
- Soql.InnerQuery
- Soql.InvalidParameterValueException
- Soql.LogicType
- Soql.NullOrder
- Soql.Operation
- Soql.Operator
- Soql.ParentField
- Soql.PreAndPostProcessor
- Soql.QueryLocator
- Soql.Request
- Soql.Scope
- Soql.Selectable
- Soql.SortDirection
- Soql.SortOrder
- Soql.Subquery
- Soql.TypeOf
- Soql.Usage
- Soql.WhenClause