Returns a new query which is a modification of the current query.
The existing query is augmented in the following way,
depending on the type of
$query is a hashref,
it is added as an AND restriction.
$query is an arrayref,
it is added as a local OR restriction (which is not implemented yet).
Max Maischein, <email@example.com>