An Eloquent model that supports MongoDB, inspired by LMongo, but using the original Eloquent methods.
An Eloquent model that supports MongoDB, inspired by LMongo, but using the original Eloquent methods.
*This model extends the original Eloquent model, so it uses exactly the same methods. Some advanced Eloquent features may not be working, but feel free to report them or issue a pull request!*
*This model extends the original Eloquent model, so it uses exactly the same methods.*
For more information about Eloquent, check http://laravel.com/docs/eloquent.
For more information about Eloquent, check http://laravel.com/docs/eloquent.
...
@@ -189,6 +189,38 @@ You may also specify additional columns to update:
...
@@ -189,6 +189,38 @@ You may also specify additional columns to update:
Other relations are not yet supported, but may be added in the future. Read more about these relations on http://four.laravel.com/docs/eloquent#relationships
**Raw Expressions**
**Raw Expressions**
These expressions will be injected directly into the query.
These expressions will be injected directly into the query.