20250811 v1.0.1a1
This commit is contained in:
parent
0d960ed3af
commit
1b20ba394e
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user