It might be nice to accept raw text for the query object so that the user doesn't have to wrap it in text() before passing it in