Commit 96153075 authored by Tigran Hakobyan's avatar Tigran Hakobyan Committed by GitHub

Tiny wording change, change "table" to "collection"

I think this meant to be "collection" not "table".
parent 3f86eb8b
......@@ -154,7 +154,7 @@ use Jenssegers\Mongodb\Eloquent\Model as Eloquent;
class User extends Eloquent {}
```
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:
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:
```php
use Jenssegers\Mongodb\Eloquent\Model as Eloquent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment