http api orderBy不能用
发布于 5 年前 作者 azhong 7208 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)
  • 预期表现
  • 复现路径
  • 提供一个最简复现 Demo

"query": "db.collection(\"geo\").where({done:true}).limit(10).skip(1).get()"加入orderBy

"query": "db.collection(\"unorderList\").where({numberid:1001}).orderBy(\'_id\',\'asc\').limit(20).skip(1).get()"

出现:object(stdClass)#3 (2)

{ ["errcode"]=> int(0) ["errmsg"]=> string(133) "Query sort entered in the request is illegal. Please check your request, but if the problem persists, contact us. hint: [Af908292028]" }

3 回复

出现同样问题,请问解决了吗?

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

是否能提供一个案例看一下,谢谢!

回到顶部