You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An Eloquent model and Query builder with support for MongoDB, using the original Laravel API. *This library extends the original Laravel classes, so it uses exactly the same methods.*
All other (unsupported) operations are implemented as dummy pass-through methods, because MongoDB does not use a predefined schema. Read more about the schema builder on http://laravel.com/docs/schema
267
+
All other (unsupported) operations are implemented as dummy pass-through methods, because MongoDB does not use a predefined schema. Read more about the schema builder on https://laravel.com/docs/6.0/migrations#tables
267
268
268
269
### Geospatial indexes
269
270
@@ -312,6 +313,7 @@ If you want to use MongoDB as your database backend, change the driver in `confi
312
313
'queue' => 'default',
313
314
'expire' => 60,
314
315
],
316
+
]
315
317
```
316
318
317
319
If you want to use MongoDB to handle failed jobs, change the database in `config/queue.php`:
@@ -320,7 +322,7 @@ If you want to use MongoDB to handle failed jobs, change the database in `config
@@ -693,7 +695,7 @@ For more information about model manipulation, check http://laravel.com/docs/elo
693
695
694
696
### Dates
695
697
696
-
Eloquent allows you to work with Carbon/DateTime objects instead of MongoDate objects. Internally, these dates will be converted to MongoDate objects when saved to the database. If you wish to use this functionality on non-default date fields, you will need to manually specify them as described here: http://laravel.com/docs/eloquent#date-mutators
698
+
Eloquent allows you to work with Carbon/DateTime objects instead of MongoDate objects. Internally, these dates will be converted to MongoDate objects when saved to the database. If you wish to use this functionality on non-default date fields, you will need to manually specify them as described here: https://laravel.com/docs/5.0/eloquent#date-mutators
697
699
698
700
Example:
699
701
@@ -770,7 +772,7 @@ class User extends Eloquent {
770
772
```
771
773
772
774
773
-
Other relations are not yet supported, but may be added in the future. Read more about these relations on http://laravel.com/docs/eloquent#relationships
775
+
Other relations are not yet supported, but may be added in the future. Read more about these relations on https://laravel.com/docs/master/eloquent-relationships
0 commit comments