Module loader

Module loader 

Source
Expand description

Relationship Loading Utilities - Handles the loading and caching of relationships

Structs§

AccessPattern
Access pattern tracking for auto-loading optimization
CacheStats
Cache statistics
CachedRelationshipLoader
Cached relationship loader that implements lazy loading with caching
Lazy
Lazy loading wrapper for relationships
RelationshipCache
Relationship cache for managing loaded relationships across models

Traits§

LazyRelationshipBuilder
Helper trait to create lazy relationship loaders
RelationshipLoader
Trait for loading relationships dynamically

Functions§

get_relationship_cache
Get the global relationship cache

Type Aliases§

LazyBelongsTo
Lazy BelongsTo relationship - wraps a single related model
LazyHasMany
Lazy HasMany relationship - wraps a collection of related models
LazyHasOne
Lazy HasOne relationship - wraps a single optional related model