20250815 v1.0.1

This commit is contained in:
2025-08-15 13:21:46 +03:00
parent 1b20ba394e
commit afdfdc29f9
4 changed files with 13 additions and 7 deletions

View File

@@ -24,7 +24,7 @@
*
* @author Александр Бабаев
* @package php_db_components_pack
* @version 1.0
* @version 1.0.1
* @since 1.0
* @see PDO
*/

View File

@@ -8,6 +8,7 @@
use goodboyalex\php_components_pack\classes\ObjectArray;
use goodboyalex\php_db_components_pack\classes\ConditionBuilder;
use goodboyalex\php_db_components_pack\enums\DBOperation;
use goodboyalex\php_db_components_pack\interfaces\IDBItem;
use PDO;
/**
@@ -15,7 +16,7 @@
*
* @author Александр Бабаев
* @package php_db_components_pack
* @version 1.0
* @version 1.0.1
* @since 1.0
* @see PDO
*/
@@ -29,10 +30,10 @@
* @param ConditionBuilder $where Условия выборки.
* @param string $className Полное имя класса, реализуемого интерфейсом IDBItem.
*
* @return object|false Заполненный объект класса или <code>false</code> в случае ошибки.
* @return IDBItem|false Заполненный объект класса или <code>false</code> в случае ошибки.
*/
public function GetRow (string $table, array $columns = [], ConditionBuilder $where = new ConditionBuilder(),
string $className = "\\StdClass"): object|false
string $className = "\\StdClass"): IDBItem|false
{
// Задаю массив параметров
$params = [];