const questionpapers = AV.Object.createWithoutData('Papers', papersid);
const questionquery = new AV.Query('Question');
questionquery.equalTo('questionpapers', questionpapers);
const question = await questionquery.find()
const option = await Promise.all(question.map(async (value, index, array) => {
const opquestion = AV.Object.createWithoutData('Question', value.id);
const optionquery = new AV.Query('Option');
optionquery.equalTo('opquestion', opquestion);
optionquery.include('opquestion');
return await optionquery.find()
-
创建时间
20年7月17日
-
最后回复
20年7月22日
-
8
回复
-
1.4K
浏览
-
2
用户
-
1
链接