mirror of https://github.com/jackc/pgx.git
Add String method to pgtype.BoundType
Character representation is much easier to read than numeric.issue-342
parent
e16749774d
commit
d6cd3b1962
|
@ -16,6 +16,10 @@ const (
|
|||
Empty = BoundType('E')
|
||||
)
|
||||
|
||||
func (bt BoundType) String() string {
|
||||
return string(bt)
|
||||
}
|
||||
|
||||
type UntypedTextRange struct {
|
||||
Lower string
|
||||
Upper string
|
||||
|
|
Loading…
Reference in New Issue