[Question] Searching through binary data in Postgres
Got it working with the `fn` hook into the underlying functions.
I'm storing user output into a BlobField within my database (instead of a TextField) in case the user's output includes null characters. However, I still want to do regex searching across this data.

From the postgresql command line, I can do a command like:
`select encode(Response.response, 'escape') LIKE 'test%'  from Response;`
which escapes the response back to text and then allows me to search like normal. This is a built-in functionality of postgres.

How do I do this from within Peewee? I've tried something like peewee's cast to 'text', but it just uses the hex string representation. 

I'm using the latest peewee and python3.6