Describe the feature
Currently, the serializer interface is:
type SerializerInterface interface {
Scan(ctx context.Context, field *Field, dst reflect.Value, dbValue interface{}) error
SerializerValuerInterface
}
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
Comment From: github-actions[bot]
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