20250810 v1.0
This commit is contained in:
@@ -67,14 +67,14 @@
|
||||
* Получает набор строк в массиве данных, удовлетворяющий выборке.
|
||||
*
|
||||
* @param string $table Имя таблицы.
|
||||
* @param ConditionBuilder $where Where-условия выборки.
|
||||
* @param array $columns Колонки, которые нужно включить в запрос.
|
||||
* @param ConditionBuilder $where Where-условия выборки.
|
||||
* @param string $className Полное имя класса, реализуемого интерфейсом IDBItem.
|
||||
*
|
||||
* @return false|ObjectArray Массив найденных классов или <code>false</code> в случае ошибки.
|
||||
*/
|
||||
public
|
||||
function GetRows (string $table, ConditionBuilder $where, array $columns = [],
|
||||
function GetRows (string $table, array $columns = [], ConditionBuilder $where = new ConditionBuilder(),
|
||||
string $className = "\\StdClass"): false|ObjectArray
|
||||
{
|
||||
// Задаю массив параметров
|
||||
@@ -124,7 +124,7 @@
|
||||
* @see Query
|
||||
*/
|
||||
public
|
||||
function GetCol (string $table, string $column, ConditionBuilder $where): false|array
|
||||
function GetCol (string $table, string $column, ConditionBuilder $where = new ConditionBuilder()): false|array
|
||||
{
|
||||
/**
|
||||
* Интерпретирую условия.
|
||||
|
Reference in New Issue
Block a user