use query.all() not query()

a test for this would be nice, but i'm not sure how.