2022-02-20 18:31:54 +01:00
|
|
|
<?php
|
|
|
|
|
2022-11-18 18:06:46 +01:00
|
|
|
namespace Core\Driver\SQL\Query;
|
2022-02-20 18:31:54 +01:00
|
|
|
|
2022-11-18 18:06:46 +01:00
|
|
|
use Core\Driver\SQL\SQL;
|
2022-02-20 18:31:54 +01:00
|
|
|
|
|
|
|
class RollBack extends Query {
|
|
|
|
public function __construct(SQL $sql) {
|
|
|
|
parent::__construct($sql);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function build(array &$params): ?string {
|
|
|
|
return "ROLLBACK";
|
|
|
|
}
|
|
|
|
}
|