Skip to content

Commit e91aa81

Browse files
amntamta-uptime
andauthored
fix(schema): use dialect-specific AppendBool in QueryGen.Append (#1373)
Co-authored-by: Tamim Amin <tamim.amin@uptime.de>
1 parent ea46de8 commit e91aa81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

schema/querygen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (gen QueryGen) Append(b []byte, v any) []byte {
4848
case nil:
4949
return dialect.AppendNull(b)
5050
case bool:
51-
return dialect.AppendBool(b, v)
51+
return gen.Dialect().AppendBool(b, v)
5252
case int:
5353
return strconv.AppendInt(b, int64(v), 10)
5454
case int32:

0 commit comments

Comments
 (0)