Conversion rules are as follows:
- If $key is numeric and $value is a string, $value is treated as a literal SQL
fragment and returned.
public conditions ( string | array $conditions, object $context, array $options = [] ) : string | ||
$conditions | string | array | The conditions for this query. |
$context | object | The current `lithium\data\model\Query` instance. |
$options | array | Available options are: - `'prepend'` _boolean|string_: The string to prepend or `false` for no prepending. Defaults to `'WHERE'`. |
return | string | Returns the `WHERE` clause of an SQL query. |