allow single map function to query
Merge pull request #556 from howonlee/master

(#548) - allow simple map function to .query