sqlboiler icon indicating copy to clipboard operation
sqlboiler copied to clipboard

postgresql: `WHERE IN` support for bytea

Open hsyed opened this issue 5 years ago • 1 comments

I need to fetch rows from a database that match a large list of sha256 hashes. would it be possible to get support for this.

hsyed avatar Jun 08 '20 13:06 hsyed

I don't think we'd be opened to adding this given that bytea is a postgres only type and we're really only targeting Go types specifically for this. If it could be done in some nice way I'd probably accept it but if it's a postgres specific solution for a wherein it doesn't feel good. It'd have to work with a mysql bytes type as well.

aarondl avatar Jun 18 '20 00:06 aarondl