If I had a query like this
$this->src("default")
->query("SELECT FIELD1, FIELD2
FROM MYTABLE")
->pipe(new DateTimeFormat([
"FIELD1" => [
"from" => "d/m/Y H:i:s",
"to" => "Y-m-d",
],
]))
->pipe(new Sort([
"FIELD1" => "asc",
]))
and than I what to apply two different Filter process and than a Group process, I had to create 2 different query or I can use the same base?
Something like these
$aboveQueryObject->pipe(new Filter(first filter))->pipe(new Group()) and than store to a datastore
---copy the
$aboveQueryObject->pipe(new Filter(second filter))->pipe(new Group()) and than store to another datastore