javascript - Get node of data from firebase -
i'm trying data firebase , i'm little stuck that.
i'm trying semaa data did not give me nothing
firebase.database().ref('courses/'+departmentid+'/sema'),
i can specific (but don't want it)
firebase.database().ref('courses/'+departmentid+'/sema/java'),
i wnated black sign , red sign in 2 different queries , run loop data there
if you're looking loop on courses in semester:
var semesterref = firebase.database().ref('courses/'+departmentid+'/sema') semesterref.on('child_added', function(coursesnapshot) { console.log(coursesnapshot.key); });
Comments
Post a Comment