Method: db::where
A handler to convert key/value arrays to an where clause
Info
Syntax
db::where($array, $method='AND')
Parameters
- $array (array) keys/values for the where clause
- $method (string) AND or OR
Return (string)
The MySQL string for the where clause