Can query builder accept many many "WHERE"? For example, can it work?
$builder->from('Robots')
foreach ($filter as $column => $value) {
$builder->where("$column = $value");
}
Because I don't how many columns it the $filter
Can query builder accept many many "WHERE"? For example, can it work?
$builder->from('Robots')
foreach ($filter as $column => $value) {
$builder->where("$column = $value");
}
Because I don't how many columns it the $filter