InitCollectionOptions <T, P, F, E>
Hierarchy
- EntityLoaderOptions<T, F, E>
- InitCollectionOptions
Index
Properties
optionalinheritedconnectionType
Connection type (read or write replica).
optionalinheritedconvertCustomTypes
Whether to convert custom types during hydration.
optionaldataloader
Whether to use the dataloader for batching collection loads.
optionalinheritedexclude
Fields to exclude from loading.
optionalinheritedfields
Select specific fields to load (partial loading).
optionalinheritedfilters
Filter options to apply when loading relations.
optionalinheritedignoreLazyScalarProperties
Whether to skip loading lazy scalar properties.
optionalinheritedlockMode
Lock mode for the query (pessimistic locking).
optionalinheritedlogging
Logging options for the query.
optionalinheritedlookup
Whether to look up eager-loaded relationships automatically.
optionalinheritedorderBy
Ordering for populated relations.
optionalpopulate
Relations to populate on the loaded items.
optionalinheritedpopulateWhere
Controls how where conditions are applied to populated relations.
optionalref
Populate only references (without loading full entities). Works only with M:N collections that use pivot table.
optionalinheritedrefresh
Whether to reload already loaded entities.
optionalinheritedschema
Database schema override.
optionalinheritedstrategy
Loading strategy to use (select-in, joined, or balanced).
optionalinheritedvalidate
Whether to validate the populate hint against the entity metadata.
optionalinheritedwhere
Additional filtering conditions applied to populated relations.
Options for initializing a collection via
init()orload().