exported Query
Merge pull request #1 from mikedewar/master

exported Query