A possible enhancement for inserts & updates.
When passing a Go value of type []byte to codex through Insert() or Set() it returns the error:
No visitor method for <[]uint8>. after calling ToSql()
I know the lib/pq driver for Postgres natively supports passing []bytes as a paramater for columns of type bytea, and I imagine most other databases would support this as a BLOB though I don't know how their Go driver's handle it.
A possible enhancement for inserts & updates.
When passing a Go value of type
[]byteto codex throughInsert()orSet()it returns the error:No visitor method for <[]uint8>.after callingToSql()I know the
lib/pqdriver for Postgres natively supports passing[]bytes as a paramater for columns of typebytea, and I imagine most other databases would support this as a BLOB though I don't know how their Go driver's handle it.