Forcing Eager loading in doctrine 2
manyToOne:
country:
targetEntity: DpCountryDetails
joinColumn:
name: countryID
referencedColumnName: countryID
nullable: true
fetch: EAGER #Forces doctrine to eager load the related field
Written by Sethunath K M
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Doctrine2
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#