dbms_primeidc_init...1

This commit is contained in:
최준흠 2025-04-03 15:35:02 +09:00
parent c327709379
commit 7724f1f6f8

View File

@ -119,16 +119,20 @@ abstract class Model
final public function execute(string $query): bool|PDOStatement final public function execute(string $query): bool|PDOStatement
{ {
if ($this->_debug) { try {
echo "\n<BR>Query:" . $query . "\n<BR>"; if ($this->_debug) {
echo "\n<BR>Query:" . $query . "\n<BR>";
}
$this->_lastQuery = $query;
$stmt = $this->getConnect()->prepare($query);
$stmt->execute();
if ($this->_reset) {
$this->reset();
}
return $stmt;
} catch (\Exception $e) {
die($e->getMessage());
} }
$this->_lastQuery = $query;
$stmt = $this->getConnect()->prepare($query);
$stmt->execute();
if ($this->_reset) {
$this->reset();
}
return $stmt;
} }
//CURD문 //CURD문