mirror of
https://github.com/jackc/pgx.git
synced 2025-07-07 19:19:37 +00:00
Add String method to pgtype.BoundType
Character representation is much easier to read than numeric.
This commit is contained in:
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…
x
Reference in New Issue
Block a user