Results of this method are stored in a memory cache. This improves performance, but
because the method uses a hashing algorithm it can have collisions.
Setting DboSource::$cacheMethods to false will disable the memory cache.
public conditions ( mixed $conditions, boolean $quoteValues = true, boolean $where = true, Model $Model = null ) : string | ||
$conditions | mixed | Array or string of conditions, or any value. |
$quoteValues | boolean | If true, values should be quoted |
$where | boolean | If true, "WHERE " will be prepended to the return value |
$Model | Model | A reference to the Model instance making the query |
return | string | SQL fragment |