original_string: public function insert()
  	{
  		$res = \DB::insert(call_user_func($this->model.'::table'), array_keys($this->values))
  			->values(array_values($this->values))
  			->execute($this->write_connection);
  
  		// Failed to save the new record
  		if ($res[1] === 0)
  		{
  			return false;
  		}
  
  		return $res[0];
  	}
code: public function insert()
  	{
  		$res = \DB::insert(call_user_func($this->model.'::table'), array_keys($this->values))
  			->values(array_values($this->values))
  			->execute($this->write_connection);
  
  		// Failed to save the new record
  		if ($res[1] === 0)
  		{
  			return false;
  		}
  
  		return $res[0];
  	}
code_tokens: public function insert ( ) { $ res = \ DB :: insert ( call_user_func ( $ this -> model . '::table' ) , array_keys ( $ this -> values ) ) -> values ( array_values ( $ this -> values ) ) -> execute ( $ this -> write_connection ) ; // Failed to save the new record if ( $ res [ 1 ] === 0 ) { return false ; } return $ res [ 0 ] ; }
docstring: Run INSERT with the current values
  
  @return  bool|int    Last inserted ID (if present) or false on failure
docstring_tokens: Run INSERT with the current values