or_where query |
found the answer here (p. 320) using Query builder :
https://www.procoversfx.com/download/cod...beta.1.pdf $db = $this->builder(); $query = $db->select('id, nom') ->where('name', $name) ->orWhere('name1', $name) ->get(); return count($query->getResult()); |
Messages In This Thread |
or_where query - by oliver - 03-12-2020, 10:48 AM
RE: or_where query - by oliver - 03-12-2020, 01:40 PM
|