20250811 v1.0.1a1

This commit is contained in:
Александр Бабаев 2025-08-11 15:07:36 +03:00
parent 0d960ed3af
commit 1b20ba394e

View File

@ -73,8 +73,7 @@
* *
* @return false|ObjectArray Массив найденных классов или <code>false</code> в случае ошибки. * @return false|ObjectArray Массив найденных классов или <code>false</code> в случае ошибки.
*/ */
public public function GetRows (string $table, array $columns = [], ConditionBuilder $where = new ConditionBuilder(),
function GetRows (string $table, array $columns = [], ConditionBuilder $where = new ConditionBuilder(),
string $className = "\\StdClass"): false|ObjectArray string $className = "\\StdClass"): false|ObjectArray
{ {
// Задаю массив параметров // Задаю массив параметров
@ -123,8 +122,8 @@
* *
* @see Query * @see Query
*/ */
public public function GetCol (string $table, string $column, ConditionBuilder $where = new ConditionBuilder()):
function GetCol (string $table, string $column, ConditionBuilder $where = new ConditionBuilder()): false|array false|array
{ {
/** /**
* Интерпретирую условия. * Интерпретирую условия.
@ -171,8 +170,7 @@
* *
* @return mixed|null Результат запроса или <code>null</code> в случае ошибки. * @return mixed|null Результат запроса или <code>null</code> в случае ошибки.
*/ */
public public function GetValue (string $table, string $column, ConditionBuilder $where): mixed
function GetValue (string $table, string $column, ConditionBuilder $where): mixed
{ {
// Получаю колонку по условию из таблицы // Получаю колонку по условию из таблицы
$result = $this->GetCol($table, $column, $where); $result = $this->GetCol($table, $column, $where);