Repository navigation
MongoDB Bson types fix, first, and limit
A bug where MongoDB\BSON types would be casted to a string has been fixed.
first is now supported on the aggregate builder via Model::builder()->first()
Optionally you can pass in an array of fields to select to first if you aren't already projecting them.
limit is now support on the aggregate builder via Model::builder()->limit(10)->get()