Search Results


3 years ago by ben100

I am trying to use Laravel5.3  with MongoDB. Already installed php driver and MongoDB package. Still getting error: InvalidArgumentException in ConnectionFactory.php line 237: Unsupported driv . . .

  • 7
  • 0
  • 2020

3 years ago by mamdouh

I am using Laravel 5.3 with jenssegers mongodb package. I am getting this error when running php artisan migrate     [ErrorException]   Declaration of Jenssegers\Mongodb\Schema\Blue . . .

  • 0
  • 0
  • 682

3 years ago by go_mongo

I am trying to create a unique key on a collection. It fails with the error message: > db.users.createIndex({userid:1},{unique:true}) {         "ok" : 0,     &nbsp . . .

  • 2
  • 0
  • 14730

2 years ago by mamdouh

How do I search for a string inside a field in MongoDB? In SQL if i want to search name column for a string pizza SELECT * FROM restaurants WHERE name LIKE '%pizza%'; What is the equivalent of . . .

  • 1
  • 0
  • 709