private static function executePrepareQuery($sqlstatement, array $data = [])
    {
        $pdostatement = static::$adapter
            ->getConnection()
            ->prepare($sqlstatement);

        static::$adapter->bind(
            $pdostatement,
            Sanitize::make($data, true)
        );

        $pdostatement->execute();

        $r = $pdostatement->rowCount();

        return $r;
    }
private static function executePrepareQuery($sqlstatement, array $data = [])
    {
        $pdostatement = static::$adapter
            ->getConnection()
            ->prepare($sqlstatement);

        static::$adapter->bind(
            $pdostatement,
            Sanitize::make($data, true)
        );

        $pdostatement->execute();

        $r = $pdostatement->rowCount();

        return $r;
    }
private static function executePrepareQuery ( $ sqlstatement , array $ data = [ ] ) { $ pdostatement = static :: $ adapter -> getConnection ( ) -> prepare ( $ sqlstatement ) ; static :: $ adapter -> bind ( $ pdostatement , Sanitize :: make ( $ data , true ) ) ; $ pdostatement -> execute ( ) ; $ r = $ pdostatement -> rowCount ( ) ; return $ r ; }
Execute the request of type delete insert update

@param string $sqlstatement
@param array $data
@return mixed
Execute the request of type delete insert update