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

Method executeScopes

chainable_api.go:382–389  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

380}
381
382func (db *DB) executeScopes() (tx *DB) {
383 scopes := db.Statement.scopes
384 db.Statement.scopes = nil
385 for _, scope := range scopes {
386 db = scope(db)
387 }
388 return db
389}
390
391// Preload preload associations with given conditions
392//

Callers 3

BuildConditionMethod · 0.80
MigratorMethod · 0.80
ExecuteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected