我在客户端查询uni-id-users表的username重复记录
const db = uniCloud.databaseForJQL();
const dbCollectionName = 'uni-id-users';
let repetitionData = db.collection(dbCollectionName)
.groupBy("username").groupField("sum(1) as num").getTemp();
let res = await db.collection(repetitionData).where("num>1").get();
运行let res = await db.collection(repetitionData).where("num>1").get(); 时死掉,请问是什么原因,谢谢
0 个回复