j***@163.com
j***@163.com
  • 发布:2023-09-22 10:49
  • 更新:2023-09-22 11:48
  • 阅读:157

unicloud-db组件 'The field 'score' must be an accumulator object'

分类:uni-app

'The field 'sum(score) as scores' must be an accumulator object' on server

<unicloud-db collection="collection_scores" groupby="name" group-field="'sum(score) as scores'"></unicloud-db>
2023-09-22 10:49 负责人:无 分享
已邀请:
j***@163.com

j***@163.com (作者)

已找到问题,多了对单引号

<unicloud-db collection="collection_scores" groupby="name" group-field="sum(score) as scores"></unicloud-db>

要回复问题请先登录注册