const res = await db.collection(
db.collection('xz_order_shopping').where({
'snapshot.store._id': storeId,
createDate: _.and(_.gt(currentStart), _.lt(currentEnd)),
is_late_payments: true,
is_canceled: _.neq(true)
}).getTemp(),
db.collection('xz_order').where({
presetType: 'shopping',
createDate: _.and(_.gt(currentStart - 1000 * 60), _.lt(currentEnd + 1000 * 60)),
is_offline_paid: _.neq(true),
paid: _.neq(true)
}).getTemp(),
).where({
orderID: _.size(1)
}).foreighKey('xz_order_shopping.orderID').count();
1***@qq.com
- 发布:2025-10-25 00:10
- 更新:2025-10-25 00:10
- 阅读:16
产品分类: uniCloud/App
示例代码:
操作步骤:
运行查询语句
运行查询语句
预期结果:
正常查询
正常查询
实际结果:
{err: Error: e.split is not a function
at _construct (http://127.0.0.1:46530/appservice/common/vendor…}(env: Windows,mp,1.06.2504030; lib: 3.10.3)
{err: Error: e.split is not a function
at _construct (http://127.0.0.1:46530/appservice/common/vendor…}(env: Windows,mp,1.06.2504030; lib: 3.10.3)
bug描述:
客户端数据库联表查询报错,
0 个回复