Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResolutionMetadata ¶
type ResolutionMetadata struct {
// contains filtered or unexported fields
}
ResolutionMetadata stores the number of times database relationship are resolved. It also returns number of times the database is read from and written to.
func NewResolutionMetadata ¶
func NewResolutionMetadata() *ResolutionMetadata
NewResolutionMetadata will return a new resolution metadata
func (*ResolutionMetadata) AddResolve ¶
func (r *ResolutionMetadata) AddResolve() uint32
AddResolve increments the number of times database are resolved for relationship
func (*ResolutionMetadata) Fork ¶
func (r *ResolutionMetadata) Fork() *ResolutionMetadata
Fork will create a new set of resolveCalls but share the same dbCall
func (*ResolutionMetadata) GetResolve ¶
func (r *ResolutionMetadata) GetResolve() uint32
GetResolve returns the number of times database relationship are resolved
Click to show internal directories.
Click to hide internal directories.