This commit is contained in:
2025-08-19 23:38:52 +03:00
parent 5074629e40
commit cc3b1ef41b
8 changed files with 189 additions and 157 deletions

View File

@@ -38,8 +38,11 @@
*/
[$sql_where, $params] = $where->Build();
// Подготавливаю имя таблицы
$table = $this->PrepareTableName($table);
// Создаю запрос
$sql = "SELECT COUNT(*) FROM $this->DBSignOpen$table$this->DBSignClose";
$sql = "SELECT COUNT(*) FROM $table";
// Если заданы where-параметры
if ($where->Count() > 0)