BadArgumentError: _MultiQuery with cursors requires __key__ order in ndb

后端 未结 5 2081
终归单人心
终归单人心 2021-01-18 01:27

I can\'t understand what this error means and apparently, no one ever got the same error on the internet

BadArgumentError: _MultiQuery with cursors re

5条回答
  •  轮回少年
    2021-01-18 02:13

    You need to the property you want to order on and key.

    .order(-SocialNotification.date, SocialNotification.key)
    

提交回复
热议问题