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

Method Save

app/controlplane/pkg/data/ent/group_update.go:537–539  ·  view source on GitHub ↗

Save executes the query and returns the updated Group entity.

(ctx context.Context)

Source from the content-addressed store, hash-verified

535
536// Save executes the query and returns the updated Group entity.
537func (_u *GroupUpdateOne) Save(ctx context.Context) (*Group, error) {
538 return withHooks(ctx, _u.sqlSave, _u.mutation, _u.hooks)
539}
540
541// SaveX is like Save, but panics if an error occurs.
542func (_u *GroupUpdateOne) SaveX(ctx context.Context) *Group {

Callers 2

SaveXMethod · 0.95
ExecMethod · 0.95

Calls 1

withHooksFunction · 0.85

Tested by

no test coverage detected