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
return new Jenssegers\Mongodb\Connection($config);
69
73
});
70
74
```
@@ -298,7 +302,7 @@ This service provider will slightly modify the internal DatabaseReminderReposito
298
302
299
303
### Queues
300
304
301
-
If you want to use MongoDB as your database backend, change the the driver in `config/queue.php`:
305
+
If you want to use MongoDB as your database backend, change the driver in `config/queue.php`:
302
306
303
307
```php
304
308
'connections' => [
@@ -689,7 +693,7 @@ For more information about model manipulation, check http://laravel.com/docs/elo
689
693
690
694
### Dates
691
695
692
-
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
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
693
697
694
698
Example:
695
699
@@ -787,7 +791,7 @@ class User extends Eloquent {
787
791
}
788
792
```
789
793
790
-
You access the embedded models through the dynamic property:
794
+
You can access the embedded models through the dynamic property:
791
795
792
796
```php
793
797
$books = User::first()->books;
@@ -849,7 +853,7 @@ Embedded relations will return a Collection of embedded items instead of a query
849
853
850
854
### EmbedsOne Relations
851
855
852
-
The embedsOne relation is similar to the EmbedsMany relation, but only embeds a single model.
856
+
The embedsOne relation is similar to the embedsMany relation, but only embeds a single model.
853
857
854
858
```php
855
859
use Jenssegers\Mongodb\Eloquent\Model as Eloquent;
@@ -864,7 +868,7 @@ class Book extends Eloquent {
864
868
}
865
869
```
866
870
867
-
You access the embedded models through the dynamic property:
871
+
You can access the embedded models through the dynamic property:
0 commit comments