MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / ResourceIDIn

Function ResourceIDIn

app/controlplane/pkg/data/ent/membership/where.go:351–353  ·  view source on GitHub ↗

ResourceIDIn applies the In predicate on the "resource_id" field.

(vs ...uuid.UUID)

Source from the content-addressed store, hash-verified

349
350// ResourceIDIn applies the In predicate on the "resource_id" field.
351func ResourceIDIn(vs ...uuid.UUID) predicate.Membership {
352 return predicate.Membership(sql.FieldIn(FieldResourceID, vs...))
353}
354
355// ResourceIDNotIn applies the NotIn predicate on the "resource_id" field.
356func ResourceIDNotIn(vs ...uuid.UUID) predicate.Membership {

Callers 1

ListProjectsByGroupMethod · 0.92

Calls 1

MembershipFuncType · 0.92

Tested by

no test coverage detected