可以进行查询,但可能这个查询比较慢,导致超时。可以考虑建索引、修改查询条件、缩小 limit 数目等。

另外云函数也可以使用 async、await:

Cloud.define('yourFunction', async function(/* 下略 */