MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / SlaveKeyIn

Function SlaveKeyIn

ent/node/where.go:420–422  ·  view source on GitHub ↗

SlaveKeyIn applies the In predicate on the "slave_key" field.

(vs ...string)

Source from the content-addressed store, hash-verified

418
419// SlaveKeyIn applies the In predicate on the "slave_key" field.
420func SlaveKeyIn(vs ...string) predicate.Node {
421 return predicate.Node(sql.FieldIn(FieldSlaveKey, vs...))
422}
423
424// SlaveKeyNotIn applies the NotIn predicate on the "slave_key" field.
425func SlaveKeyNotIn(vs ...string) predicate.Node {

Callers

nothing calls this directly

Calls 1

NodeFuncType · 0.92

Tested by

no test coverage detected