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

Method Scopes

generics.go:77–77  ·  view source on GitHub ↗
(scopes ...func(db *Statement))

Source from the content-addressed store, hash-verified

75type ChainInterface[T any] interface {
76 ExecInterface[T]
77 Scopes(scopes ...func(db *Statement)) ChainInterface[T]
78 Where(query interface{}, args ...interface{}) ChainInterface[T]
79 Not(query interface{}, args ...interface{}) ChainInterface[T]
80 Or(query interface{}, args ...interface{}) ChainInterface[T]

Callers 9

TestMigrateFunction · 0.65
TestChainableAPIFunction · 0.65
TestScopesFunction · 0.65
TestComplexScopesFunction · 0.65
TestGenericsScopesFunction · 0.65
TestCountFunction · 0.65
TestGroupConditionsFunction · 0.65
TestDistinctFunction · 0.65

Calls

no outgoing calls

Tested by 9

TestMigrateFunction · 0.52
TestChainableAPIFunction · 0.52
TestScopesFunction · 0.52
TestComplexScopesFunction · 0.52
TestGenericsScopesFunction · 0.52
TestCountFunction · 0.52
TestGroupConditionsFunction · 0.52
TestDistinctFunction · 0.52