这是云函数的代码:
'use strict';  
exports.main = async (event, context) => {  
    const dbJQL = uniCloud.databaseForJQL({ // 获取JQL database引用,此处需要传入云函数的event和context,必传  
            event,  
            context  
        })  
    const order=dbJQL.collection('food').where("isnew==false").getTemp()  
    const res=dbJQL.collection('show-food',order).get()  
    return res  
};在JQL编辑器中:
const order=db.collection('food').where("isnew==false").getTemp()  
db.collection('show-food',order).get() 
             
             
             
			 
                                        
                                     
            
2 个回复
DCloud_uniCloud_WYQ
Bug已确认,感谢反馈
DCloud_uniCloud_WYQ
3.3.4版本已修复此问题