MCPcopy
hub / github.com/go-gorm/gorm / Updates

Method Updates

generics.go:99–99  ·  view source on GitHub ↗
(ctx context.Context, t T)

Source from the content-addressed store, hash-verified

97 Delete(ctx context.Context) (rowsAffected int, err error)
98 Update(ctx context.Context, name string, value any) (rowsAffected int, err error)
99 Updates(ctx context.Context, t T) (rowsAffected int, err error)
100 Count(ctx context.Context, column string) (result int64, err error)
101}
102

Callers 15

FirstOrCreateMethod · 0.65
UpdatesMethod · 0.65
UpdateMethod · 0.65
handleAssociationMethod · 0.65
saveAssociationMethod · 0.65
TestSetColumnFunction · 0.65
TestUpdateHasOneFunction · 0.65
TestGORMValuerFunction · 0.65
TestGenericsUpdatesFunction · 0.65
TestUpdateFunction · 0.65
TestUpdatesFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestSetColumnFunction · 0.52
TestUpdateHasOneFunction · 0.52
TestGORMValuerFunction · 0.52
TestGenericsUpdatesFunction · 0.52
TestUpdateFunction · 0.52
TestUpdatesFunction · 0.52
TestSelectWithUpdateFunction · 0.52