We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba43ccd commit 82c23baCopy full SHA for 82c23ba
src/Jenssegers/Mongodb/Model.php
@@ -205,6 +205,23 @@ public function dropColumn($columns)
205
return $query = $this->newQuery()->where($this->getKeyName(), $this->getKey())->unset($columns);
206
}
207
208
+ /**
209
+ * Pass push to the query builder.
210
+ *
211
+ * @return mixed
212
+ */
213
+ public function push()
214
+ {
215
+ if ($parameters = func_get_args())
216
217
+ $query = $this->newQuery();
218
+
219
+ return call_user_func_array(array($query, 'push'), $parameters);
220
+ }
221
222
+ return parent::push();
223
224
225
/**
226
* Create a new Eloquent query builder for the model.
227
*
0 commit comments