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().
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. |
toSoql
apex
global abstract String toSoql()Converts the condition to a SOQL query string.
Returns String — A valid SOQL query string.
apex
global abstract String toSoql(QRY_Condition.SoqlOptions options)Converts the condition to a SOQL query string using specific options.
Parameters
| Parameter | Type | Description |
|---|---|---|
options | QRY_Condition.SoqlOptions | The SOQL options for customization. |
Returns String — A valid SOQL query string.