Skip to content

Commit

Permalink
Merge pull request #1086 from Aoang/fix/pg-numeric-conversion
Browse files Browse the repository at this point in the history
fix(pgdialect): Remove unsigned integer conversion
  • Loading branch information
j2gg0s authored Dec 6, 2024
2 parents 96baf25 + ab3c679 commit 014b142
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions dialect/pgdialect/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package pgdialect
import (
"database/sql"
"fmt"
"strconv"
"strings"

"github.com/uptrace/bun"
Expand Down Expand Up @@ -128,14 +127,6 @@ func (d *Dialect) IdentQuote() byte {
return '"'
}

func (d *Dialect) AppendUint32(b []byte, n uint32) []byte {
return strconv.AppendInt(b, int64(int32(n)), 10)
}

func (d *Dialect) AppendUint64(b []byte, n uint64) []byte {
return strconv.AppendInt(b, int64(n), 10)
}

func (d *Dialect) AppendSequence(b []byte, _ *schema.Table, _ *schema.Field) []byte {
return appendGeneratedAsIdentity(b)
}
Expand Down

0 comments on commit 014b142

Please sign in to comment.