Ola*_*Ola 9 firebase angularfire2 google-cloud-firestore
我正在查询 firestore:
this.todosCollection = this.afs.collection('todos', ref => ref.where('owner', '==', this.userId). orderBy('due', 'asc'));
Run Code Online (Sandbox Code Playgroud)
待办事项按我想要的升序排列,问题是没有截止日期(空)的待办事项排在第一位。我希望他们排在最后。这在 orderBy 或其他技术中可能吗?
| 归档时间: |
|
| 查看次数: |
2450 次 |
| 最近记录: |