src/Command.php
public function perform($action, $table, $body = [], array $params = [])
    {
        $request = $this->db->getQueryBuilder()->perform($action, $table, $body, $params);
        $this->setRequest($request);

        return $this->send();
    }
public function perform($action, $table, $body = [], array $params = [])
    {
        $request = $this->db->getQueryBuilder()->perform($action, $table, $body, $params);
        $this->setRequest($request);

        return $this->send();
    }
public function perform ( $ action , $ table , $ body = [ ] , array $ params = [ ] ) { $ request = $ this -> db -> getQueryBuilder ( ) -> perform ( $ action , $ table , $ body , $ params ) ; $ this -> setRequest ( $ request ) ; return $ this -> send ( ) ; }
Creates and executes request with given data.
@param string $action
@param string $table
@param mixed $body
@param array $params request parameters
@return ResponseInterface response object
Creates and executes request with given data .