Where like query builder in Laravel with MongoDb

Solution:

Try this with the end of get() method:

DB::table('Account')->where('avail_balance','LIKE','%'.$searchValue.'%')->get();

And try this using LIKE query:

$account = DB::connection('mongodb')->collection('Account')->where('avail_balance','LIKE','%'.$searchValue.'%')->paginate(5);

I hope it would helpful.