Displaying table

the table has been created with joins but the contents of objects (course,centre,season) is not displayed int the table

@sarthak051999 there might be the problem with your include command, try running this, batch.findAll({ include: { all: true, nested: true }});

tried but it is still not fixed

@sarthak051999 problem lies in your post method in server.js file
there in your batch.create you have mistyped the columns name, fix that and it will start working

i am sorry but i don’t find any mis typed column name.Can you specify it in a more detailed way

also,even if i am not peforming join then too its not showing anything in those three colums

It would be really helpful if you could run this and figure out what’s the issue

@sarthak051999 i ran it and that’s why i said to correct the mistype in your server.js file post method, see there you have written courseID, centerID, seasonID which should be centerId, courseId, seasonId

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.