@sundar wrote:
store.findRecord('school', school_id, { include: [ 'students', 'students.records' ].join(',')
Using the above code fetching school, students, students’ records data in inital load. In the initial load, I don’t need students.records (only listing students initially)
Need student records only when clicking some button (Student Performance) Is there any way to fetch associated records separately and link with the existing model
I have sperate api endpoint for fetch students’ records
Posts: 1
Participants: 1