use query.all() not query()
Merge pull request #7 from jonathanong/patch-1

use query.all() not query()