Reputation: 720
I know that Sequel have BLOB
type for byte data, but there is some difference between BLOB
and bytea
. Is it possible to use bytea
directly with Sequel?
Upvotes: 0
Views: 190
Reputation: 720
Yes. Bytea is supported in Sequel: See "The 2.2.0 release_notes.
You can change the column col_name
type from String to Bytea using:
set_column_type :col_name, :bytea, using: 'col_name::bytea'
Upvotes: 1