Adds operator<< for Array
Adds Array query using By