public static function statement($sqlstatement)
    {
        static::verifyConnection();

        if (!preg_match(
            "/^((drop|alter|create)\s+(?:(?:temp|temporary)\s+)?table|truncate|call)(\s+)?(.+?);?$/i",
            $sqlstatement
        )) {
            throw new DatabaseException(
                'Syntax Error on the Request',
                E_USER_ERROR
            );
        }

        return static::$adapter
            ->getConnection()
            ->exec($sqlstatement) === 0;
    }
public static function statement($sqlstatement)
    {
        static::verifyConnection();

        if (!preg_match(
            "/^((drop|alter|create)\s+(?:(?:temp|temporary)\s+)?table|truncate|call)(\s+)?(.+?);?$/i",
            $sqlstatement
        )) {
            throw new DatabaseException(
                'Syntax Error on the Request',
                E_USER_ERROR
            );
        }

        return static::$adapter
            ->getConnection()
            ->exec($sqlstatement) === 0;
    }
public static function statement ( $ sqlstatement ) { static :: verifyConnection ( ) ; if ( ! preg_match ( "/^((drop|alter|create)\s+(?:(?:temp|temporary)\s+)?table|truncate|call)(\s+)?(.+?);?$/i" , $ sqlstatement ) ) { throw new DatabaseException ( 'Syntax Error on the Request' , E_USER_ERROR ) ; } return static :: $ adapter -> getConnection ( ) -> exec ( $ sqlstatement ) === 0 ; }
Executes a request of type DROP | CREATE TABLE | TRAUNCATE | ALTER Builder

@param string $sqlstatement
@return bool
Executes a request of type DROP | CREATE TABLE | TRAUNCATE | ALTER Builder