Added possibility to return query from method construct Query as array