public function findQuery($cmd) {
        foreach ($cmd as $backend => $val)
            if (preg_match('/'.$backend.'/', $this->db->driver()))
                return $val;
        trigger_error(sprintf('DB Engine `%s` is not supported for this action.', $this->db->driver()),E_USER_ERROR);
    }
public function findQuery($cmd) {
        foreach ($cmd as $backend => $val)
            if (preg_match('/'.$backend.'/', $this->db->driver()))
                return $val;
        trigger_error(sprintf('DB Engine `%s` is not supported for this action.', $this->db->driver()),E_USER_ERROR);
    }
public function findQuery ( $ cmd ) { foreach ( $ cmd as $ backend => $ val ) if ( preg_match ( '/' . $ backend . '/' , $ this -> db -> driver ( ) ) ) return $ val ; trigger_error ( sprintf ( 'DB Engine `%s` is not supported for this action.' , $ this -> db -> driver ( ) ) , E_USER_ERROR ) ; }
parse command array and return backend specific query
@param $cmd
@param $cmd array
@return bool|string
parse command array and return backend specific query