MCPcopy
hub / github.com/Wei-Shaw/sub2api / LoadFactor

Method LoadFactor

backend/ent/mutation.go:2963–2969  ·  view source on GitHub ↗

LoadFactor returns the value of the "load_factor" field in the mutation.

()

Source from the content-addressed store, hash-verified

2961
2962// LoadFactor returns the value of the "load_factor" field in the mutation.
2963func (m *AccountMutation) LoadFactor() (r int, exists bool) {
2964 v := m.load_factor
2965 if v == nil {
2966 return
2967 }
2968 return *v, true
2969}
2970
2971// OldLoadFactor returns the old "load_factor" field's value of the Account entity.
2972// If the Account object wasn't provided to the builder, the object is fetched from the database.

Callers 4

FieldMethod · 0.95
sqlSaveMethod · 0.80
sqlSaveMethod · 0.80
createSpecMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected