2020-04-02 00:02:51 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Driver\SQL\Query;
|
|
|
|
|
2020-04-03 17:39:58 +02:00
|
|
|
use Driver\SQL\SQL;
|
|
|
|
|
2020-04-02 00:02:51 +02:00
|
|
|
abstract class Query {
|
|
|
|
|
2020-04-03 17:39:58 +02:00
|
|
|
protected SQL $sql;
|
2020-04-02 00:02:51 +02:00
|
|
|
|
|
|
|
public function __construct($sql) {
|
|
|
|
$this->sql = $sql;
|
|
|
|
}
|
|
|
|
|
|
|
|
public abstract function execute();
|
|
|
|
|
2020-04-03 17:39:58 +02:00
|
|
|
}
|