Is there a way to populate students ?
"cohortStudents": {
"cohort-id-4": {
"cohortId": "cohort-id-4",
"instructorId": "CZVLBcZ7lQe2OUcHdDLjW4OVFaB2",
"students": {
"student-id-1": true,
"student-id-2": true,
"student-id-3": true
}
}
}
So basically i can get data from cohortStudents
by
https://[projectname].firebaseio.com/cohortStudents.json?orderBy="cohortId"&equalTo="cohort-id-4"
And i will get object but students: {}
will have still student-id-1
etc
Is there a way to get data look like students: { student-id-1: { name: '', email: '' } }
Hope your help