diff options
Diffstat (limited to 'vendor/github.com/uptrace/bun/schema/dialect.go')
-rw-r--r-- | vendor/github.com/uptrace/bun/schema/dialect.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/uptrace/bun/schema/dialect.go b/vendor/github.com/uptrace/bun/schema/dialect.go index 134460c3d..b73d89bd0 100644 --- a/vendor/github.com/uptrace/bun/schema/dialect.go +++ b/vendor/github.com/uptrace/bun/schema/dialect.go @@ -29,6 +29,7 @@ type Dialect interface { AppendString(b []byte, s string) []byte AppendBytes(b []byte, bs []byte) []byte AppendJSON(b, jsonb []byte) []byte + AppendBool(b []byte, v bool) []byte } //------------------------------------------------------------------------------ @@ -126,6 +127,10 @@ func (BaseDialect) AppendJSON(b, jsonb []byte) []byte { return b } +func (BaseDialect) AppendBool(b []byte, v bool) []byte { + return dialect.AppendBool(b, v) +} + //------------------------------------------------------------------------------ type nopDialect struct { |