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

Method Indexes

app/controlplane/pkg/data/ent/schema/project.go:64–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64func (Project) Indexes() []ent.Index {
65 return []ent.Index{
66 index.Fields("name").Edges("organization").Unique().Annotations(
67 entsql.IndexWhere("deleted_at IS NULL"),
68 ),
69 index.Edges("organization").Annotations(
70 entsql.IndexWhere("deleted_at IS NULL"),
71 ),
72 }
73}

Callers

nothing calls this directly

Calls 4

AnnotationsMethod · 0.80
UniqueMethod · 0.45
EdgesMethod · 0.45
FieldsMethod · 0.45

Tested by

no test coverage detected