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

Function Not

database/sqlbuilder/expression.go:230–234  ·  view source on GitHub ↗

Returns a representation of "not expr"

(expr BoolExpression)

Source from the content-addressed store, hash-verified

228
229// Returns a representation of "not expr"
230func Not(expr BoolExpression) BoolExpression {
231 return &negateExpression{
232 nested: expr,
233 }
234}
235
236// Representation of binary operations (e.g. comparisons, arithmetic)
237type binaryExpression struct {

Callers 15

TestInternMethod · 0.85
TestAddExistsMethod · 0.85
TestNegateExprMethod · 0.85
TestFailedMagicCheckMethod · 0.85
TestV1FailFormatCheckMethod · 0.85
TestV3FailFormatCheckMethod · 0.85

Calls

no outgoing calls

Tested by 15

TestInternMethod · 0.68
TestAddExistsMethod · 0.68
TestNegateExprMethod · 0.68
TestFailedMagicCheckMethod · 0.68
TestV1FailFormatCheckMethod · 0.68
TestV3FailFormatCheckMethod · 0.68