Hello Everyone.
Now, I am facing problem while returning combined Two data using backend workflow so that we can use these data in third party.
There are three relational Data Types, Class and Students, in my bubble app.
Class: {
name: ‘name of class’,
teacher: id of teacher data type,
students: [id of student1, id of student2, id of student3]
}
Student: {
name: ‘name’,
age: ‘age’,
gender: ‘man’,
address: ‘address’
}
Now, I want to export Data like below Type:
class: {
name: ‘name of class’,
teacher: ID of teacher data type,
students:[
{name: ‘name1’, age: ‘age1’},
{name: ‘name2’, age: ‘age2’},
{name: ‘name3’, age: ‘age3’},
]
}
Please help me. How to do this in backend workflow?
Thank you.