master v0.1.2
HerrHase 3 years ago
parent 64d168bb3d
commit 1a00622480

@ -1,6 +1,6 @@
{
"name": "tentakelfabrik/pirectus",
"version": "0.1.1",
"version": "0.1.2",
"type": "library",
"license": "MIT",
"authors": [

@ -222,7 +222,7 @@ class ItemsQueryBuilder extends AbstractQueryBuilder
*/
public function aliases(string $field, string $alias)
{
$this->query['parameters']['alias'][$field] = $alias;
$this->query['parameters']['alias'][$alias] = $field;
return $this;
}

Loading…
Cancel
Save