1***@qq.com
1***@qq.com
  • 发布:2025-09-25 04:06
  • 更新:2025-09-25 10:57
  • 阅读:19

【报Bug】FaasError: invalid $match

分类:uniCloud

产品分类: uniCloud/支付宝小程序云

示例代码:
const existingDevice = await db.collection("game-card-device").where(  
        `card_id == ${card._id} && device_no == ${params.device_no}`  
    ).get();  

"_id": {
"description": "ID,系统自动生成",
"label": "ID"
},
"card_id": {
"bsonType": "string",
"description": "卡密ID,关联game-card-key._id",
"title": "卡密ID",
"foreignKey": "game-card-key._id",
"label": "卡密ID"
},
"card_no": {
"description": "卡密编号",
"bsonType": "string",
"pattern": "^[A-Za-z0-9\-]+$",
"maxLength": 32,
"label": "卡密编号"
},
"device_no": {
"bsonType": "string",
"description": "设备号",
"title": "设备号",
"label": "设备号"
},

操作步骤:

正常运行

预期结果:

正常

实际结果:

FaasError: invalid $match
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

bug描述:

FaasError: invalid $match
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

2025-09-25 04:06 负责人:无 分享
已邀请:
DCloud_uniCloud_CRL

DCloud_uniCloud_CRL

发一下requestId

要回复问题请先登录注册