MCPcopy Create free account
hub / github.com/upper/db / Eq

Function Eq

comparison.go:47–49  ·  view source on GitHub ↗

Eq is a comparison that means: is equal to value.

(value interface{})

Source from the content-addressed store, hash-verified

45
46// Eq is a comparison that means: is equal to value.
47func Eq(value interface{}) *Comparison {
48 return &Comparison{adapter.NewComparisonOperator(adapter.ComparisonOperatorEqual, value)}
49}
50
51// NotEq is a comparison that means: is not equal to value.
52func NotEq(value interface{}) *Comparison {

Callers 1

TestComparisonOperatorsFunction · 0.85

Calls 1

NewComparisonOperatorFunction · 0.92

Tested by 1

TestComparisonOperatorsFunction · 0.68