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

Method Save

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

Save executes the query and returns the number of nodes affected by the update operation.

(ctx context.Context)

Source from the content-addressed store, hash-verified

189
190// Save executes the query and returns the number of nodes affected by the update operation.
191func (_u *GroupUpdate) Save(ctx context.Context) (int, error) {
192 return withHooks(ctx, _u.sqlSave, _u.mutation, _u.hooks)
193}
194
195// SaveX is like Save, but panics if an error occurs.
196func (_u *GroupUpdate) SaveX(ctx context.Context) int {

Callers 2

SaveXMethod · 0.95
ExecMethod · 0.95

Calls 1

withHooksFunction · 0.85

Tested by

no test coverage detected