MCPcopy Create free account
hub / github.com/crowdsecurity/crowdsec / IDIn

Function IDIn

pkg/database/ent/machine/where.go:29–31  ·  view source on GitHub ↗

IDIn applies the In predicate on the ID field.

(ids ...int)

Source from the content-addressed store, hash-verified

27
28// IDIn applies the In predicate on the ID field.
29func IDIn(ids ...int) predicate.Machine {
30 return predicate.Machine(sql.FieldIn(FieldID, ids...))
31}
32
33// IDNotIn applies the NotIn predicate on the ID field.
34func IDNotIn(ids ...int) predicate.Machine {

Callers 2

BulkDeleteWatchersMethod · 0.92
loadOwnerMethod · 0.92

Calls 1

MachineFuncType · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…