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')
|
Empty = BoundType('E')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func (bt BoundType) String() string {
|
||||||
|
return string(bt)
|
||||||
|
}
|
||||||
|
|
||||||
type UntypedTextRange struct {
|
type UntypedTextRange struct {
|
||||||
Lower string
|
Lower string
|
||||||
Upper string
|
Upper string
|
||||||
|
|
Loading…
Reference in New Issue