kmunky
5 months ago

eager load

Posted 5 months ago by kmunky

hi,

I have three models: manager, receipt, customer

manager hasMany receipts

customer hasMany receipts

receipt belongs to customer and belongs to user

how can I eager load all customers for one specific manager ?

Please sign in or create an account to participate in this conversation.