20250811 v1.0.1a1
This commit is contained in:
parent
0d960ed3af
commit
1b20ba394e
@ -73,8 +73,7 @@
|
||||
*
|
||||
* @return false|ObjectArray Массив найденных классов или <code>false</code> в случае ошибки.
|
||||
*/
|
||||
public
|
||||
function GetRows (string $table, array $columns = [], ConditionBuilder $where = new ConditionBuilder(),
|
||||
public function GetRows (string $table, array $columns = [], ConditionBuilder $where = new ConditionBuilder(),
|
||||
string $className = "\\StdClass"): false|ObjectArray
|
||||
{
|
||||
// Задаю массив параметров
|
||||
@ -123,8 +122,8 @@
|
||||
*
|
||||
* @see Query
|
||||
*/
|
||||
public
|
||||
function GetCol (string $table, string $column, ConditionBuilder $where = new ConditionBuilder()): false|array
|
||||
public function GetCol (string $table, string $column, ConditionBuilder $where = new ConditionBuilder()):
|
||||
false|array
|
||||
{
|
||||
/**
|
||||
* Интерпретирую условия.
|
||||
@ -171,8 +170,7 @@
|
||||
*
|
||||
* @return mixed|null Результат запроса или <code>null</code> в случае ошибки.
|
||||
*/
|
||||
public
|
||||
function GetValue (string $table, string $column, ConditionBuilder $where): mixed
|
||||
public function GetValue (string $table, string $column, ConditionBuilder $where): mixed
|
||||
{
|
||||
// Получаю колонку по условию из таблицы
|
||||
$result = $this->GetCol($table, $column, $where);
|
||||
|
Loading…
x
Reference in New Issue
Block a user