MCPcopy
hub / github.com/dropbox/godropbox / arithmeticExpression

Struct arithmeticExpression

database/sqlbuilder/expression.go:127–131  ·  view source on GitHub ↗

Representation of n-ary arithmetic (+ - * /)

Source from the content-addressed store, hash-verified

125
126// Representation of n-ary arithmetic (+ - * /)
127type arithmeticExpression struct {
128 isExpression
129 expressions []Expression
130 operator []byte
131}
132
133func (arith *arithmeticExpression) SerializeSql(out *bytes.Buffer) (err error) {
134 if len(arith.expressions) == 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected