Closed
Description
Hi,
would it possible to allow combinations of orderBy with where? Something like this:
AnotherModel::orderBy('created_at', 'desc')->where('some_id', '=', new MongoID((string) $model->_id))->take(1)->get();
This would be really cool to have. Please correct me, if there already should be a feature like this available!
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels