MCPcopy Index your code
hub / github.com/dropbox/godropbox / Div

Function Div

database/sqlbuilder/expression.go:433–438  ·  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

431
432// Returns a representation of "c[0] / ... / c[n-1]" for c in clauses
433func Div(expressions ...Expression) Expression {
434 return &arithmeticExpression{
435 expressions: expressions,
436 operator: []byte(" / "),
437 }
438}
439
440// Returns a representation of "a=b"
441func Eq(lhs, rhs Expression) BoolExpression {

Callers 1

TestDivExprMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestDivExprMethod · 0.68