You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add new interface/method with new argument of *gorm.DB.
Motivation
In PostgreSQL, the bytea type should be serialized as \x0123456789, but in other database it's 0x123456789.
Not only bytea, many other datatypes need be serialized in different format for different DB.
Related Issues
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has been open 360 days with no activity. Remove stale label or comment or this will be closed in 180 days
Describe the feature
Currently, the serializer interface is:
Add new interface/method with new argument of
*gorm.DB
.Motivation
In PostgreSQL, the
bytea
type should be serialized as\x0123456789
, but in other database it's0x123456789
.Not only
bytea
, many other datatypes need be serialized in different format for different DB.Related Issues
The text was updated successfully, but these errors were encountered: