-
-
Notifications
You must be signed in to change notification settings - Fork 181
Open
Description
instead of
$query->where("post_id" , 1)->where("category_id" , 2);
i would like to
$query->where([
"post_id" => 1,
"category_id" => 2
]);
Edit:
i extendet the code by myself:
src/Pixie/QueryBuilder/QueryBuilderHandler.php
between line 608 and 609 i inserted
//if an array is given
if(is_array($key)){
foreach($key as $key => $value){
$cached = $this->where($key, $value);
}
return $cached;
}
dragonattack
Metadata
Metadata
Assignees
Labels
No labels