/** * Run an SQL statement and get the number of rows affected. * * @param string $query * @param array $bindings * @return int * @static */ public static function affectingStatement($query, $bindings = array()) { //Method inherited from \Illuminate\Database\Connection return \Jenssegers\Mongodb\Connection::affectingStatement($query, $bindings); }