laravel-mongodb
laravel-mongodb copied to clipboard
distinct(), skip() and limit() are not working together
- Laravel-mongodb Version: 3.*
- PHP Version: 7.3.*
- Lumen: 5.5.2
Description:
Steps to reproduce
- Keyword::distinct('keyword')->skip(0)->take(5)->get();
- This will give distinct records, but return all the records instead of 5