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

Function Mul

database/sqlbuilder/expression.go:425–430  ·  view source on GitHub ↗

Returns a representation of "c[0] * ... * c[n-1]" for c in clauses

(expressions ...Expression)

Source from the content-addressed store, hash-verified

423
424// Returns a representation of "c[0] * ... * c[n-1]" for c in clauses
425func Mul(expressions ...Expression) Expression {
426 return &arithmeticExpression{
427 expressions: expressions,
428 operator: []byte(" * "),
429 }
430}
431
432// Returns a representation of "c[0] / ... / c[n-1]" for c in clauses
433func Div(expressions ...Expression) Expression {

Callers 1

TestMulExprMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestMulExprMethod · 0.68