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

Method Create

app/controlplane/pkg/data/ent/client.go:2090–2093  ·  view source on GitHub ↗

Create returns a builder for creating a Organization entity.

()

Source from the content-addressed store, hash-verified

2088
2089// Create returns a builder for creating a Organization entity.
2090func (c *OrganizationClient) Create() *OrganizationCreate {
2091 mutation := newOrganizationMutation(c.config, OpCreate)
2092 return &OrganizationCreate{config: c.config, hooks: c.Hooks(), mutation: mutation}
2093}
2094
2095// CreateBulk returns a builder for creating a bulk of Organization entities.
2096func (c *OrganizationClient) CreateBulk(builders ...*OrganizationCreate) *OrganizationCreateBulk {

Callers 1

MapCreateBulkMethod · 0.95

Calls 2

HooksMethod · 0.95
newOrganizationMutationFunction · 0.85

Tested by

no test coverage detected