Add some snippets for query etc
Merge pull request #138 from gladhorn/docs

Add some snippets for query etc