github.com/machinefi/w3bstream@v1.6.5-rc9.0.20240426031326-b8c7c4876e72/pkg/depends/kit/sqlx/builder/builder_addition_other.go (about) 1 package builder 2 3 type addition struct { 4 AdditionType // immutable 5 SqlExpr 6 } 7 8 func AsAddition(e SqlExpr) *addition { return &addition{AdditionOther, e} } 9 10 func (a *addition) IsNil() bool { return a == nil || IsNilExpr(a.SqlExpr) }