Commit caba1340 authored by Jens Segers's avatar Jens Segers

Readme

parent 816de8df
...@@ -245,14 +245,14 @@ Or you can access the internal object directly: ...@@ -245,14 +245,14 @@ Or you can access the internal object directly:
### MongoDB specific operations ### MongoDB specific operations
***Push*** **Push**
Add one or more items to an array. Add one or more items to an array.
User::where('name', 'John')->push('items', 'boots'); User::where('name', 'John')->push('items', 'boots');
User::where('name', 'John')->push('items', array('sword', 'shield')); User::where('name', 'John')->push('items', array('sword', 'shield'));
***Pull*** **Pull**
Remove one or more values from an array. Remove one or more values from an array.
......
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