Skip to content

Commit 9615307

Browse files
author
Tigran Hakobyan
authored
Tiny wording change, change "table" to "collection"
I think this meant to be "collection" not "table".
1 parent 3f86eb8 commit 9615307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ use Jenssegers\Mongodb\Eloquent\Model as Eloquent;
154154
class User extends Eloquent {}
155155
```
156156

157-
Note that we did not tell Eloquent which collection to use for the `User` model. Just like the original Eloquent, the lower-case, plural name of the class will be used as the table name unless another name is explicitly specified. You may specify a custom collection (alias for table) by defining a `collection` property on your model:
157+
Note that we did not tell Eloquent which collection to use for the `User` model. Just like the original Eloquent, the lower-case, plural name of the class will be used as the collection name unless another name is explicitly specified. You may specify a custom collection (alias for table) by defining a `collection` property on your model:
158158

159159
```php
160160
use Jenssegers\Mongodb\Eloquent\Model as Eloquent;

0 commit comments

Comments
 (0)