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