Save query result into a collection

Add save method into a DBQuery object, save all the objects into a named
or a temporary collection