作者:黄ll明雪_742 | 来源:互联网 | 2023-09-03 09:03
Hi
Thanks for this great package!
Would it be possible to add a natural order sort to the query builder?
Perhaps as a third parameter within the orderBy method:
1
| $users = User::orderBy('name', 'desc', 'natural')->get(); |
http://docs.mongodb.org/manual/reference/method/cursor.sort/#return-natural-order
该提问来源于开源项目:jenssegers/laravel-mongodb
Thanks!