take method
Limit the number of rows in result
var userEloquent = UserEloquent();
// get first user where name is like j
userEloquent.where('name','%j%',operator:Operator.like).orderByDesc('name').take(1).get();
Implementation
Generator take(int? count) {
_limit = count;
return this;
}