QRY_Condition.Evaluable
Class
apex
global virtual interface QRY_Condition.EvaluableKnown Derived Types: QRY_Condition.DateLiteral, QRY_Condition.FieldCondition, QRY_Condition.Nestable
Interface for condition classes. Pass to QRY_Builder.addCondition().
Since: 1.0
Example:
apex
interface value = instance.Evaluable;Methods
| Method | Description |
|---|---|
| global abstract String toSoql() | Converts the condition to a SOQL query string. |
| global abstract String toSoql(QRY_Condition.SoqlOptions options) | Converts the condition to a SOQL query string using specific options. |
Method Details
toSoql
apex
global abstract String toSoql()Converts the condition to a SOQL query string.
Returns: String - A valid SOQL query string.
toSoql
apex
global abstract String toSoql(QRY_Condition.SoqlOptions options)Converts the condition to a SOQL query string using specific options.
Parameters:
options(QRY_Condition.SoqlOptions) - The SOQL options for customization.
Returns: String - A valid SOQL query string.