Allow query option to be a raw string

I think it is sometimes convenient to pass `query` option as a raw string. So why not allow this?