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

Method Count

association.go:371–376  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

369}
370
371func (association *Association) Count() (count int64) {
372 if association.Error == nil {
373 association.Error = association.buildCondition().Count(&count).Error
374 }
375 return
376}
377
378type assignBack struct {
379 Source reflect.Value

Callers

nothing calls this directly

Calls 2

buildConditionMethod · 0.95
CountMethod · 0.65

Tested by

no test coverage detected