#49: Удаление здания комиссионки.

This commit is contained in:
Igor Barkov (iwork)
2022-01-21 18:17:56 +02:00
parent baf127231e
commit 415d198351
13 changed files with 28 additions and 179 deletions
+10
View File
@@ -141,4 +141,14 @@ class DBPDO
{
return $this->pdo->lastInsertId();
}
function fetchColumn($query, $values = null) {
if (is_null($values)) {
$values = [];
} elseif (!is_array($values)) {
$values = [$values];
}
$stmt = $this->execute($query, $values);
return $stmt->fetchColumn();
}
}