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

Function In

comparison.go:67–69  ·  view source on GitHub ↗

In is a comparison that means: is any of the values.

(value ...interface{})

Source from the content-addressed store, hash-verified

65
66// In is a comparison that means: is any of the values.
67func In(value ...interface{}) *Comparison {
68 return &Comparison{adapter.NewComparisonOperator(adapter.ComparisonOperatorIn, toInterfaceArray(value))}
69}
70
71// AnyOf is a comparison that means: is any of the values of the slice.
72func AnyOf(value interface{}) *Comparison {

Callers 1

TestComparisonOperatorsFunction · 0.85

Calls 2

NewComparisonOperatorFunction · 0.92
toInterfaceArrayFunction · 0.85

Tested by 1

TestComparisonOperatorsFunction · 0.68