Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Checks if assertion is false
assert(mixed $assertionstring $description = ?): bool
        try {

            
$result $this->connection->exec($statement);



            
\assert($result !== false);



            return 
$result;

        } catch (
PDOException $exception) {
        try {

            
$stmt $this->connection->query($sql);



            
\assert($stmt instanceof PDOStatement);



            return new 
Result($stmt);

        } catch (
PDOException $exception) {