This commit is contained in:
2025-08-07 18:06:55 +03:00
parent eeea57209e
commit d132832d28
34 changed files with 1231 additions and 286 deletions

View File

@@ -7,9 +7,9 @@
use Exception;
use goodboyalex\php_db_components_pack\classes\ConditionBuilder;
use goodboyalex\php_db_components_pack\classes\DBItemProperty;
use goodboyalex\php_db_components_pack\enums\DBOperation;
use goodboyalex\php_db_components_pack\interfaces\IDBItem;
use goodboyalex\php_db_components_pack\models\DBItemProperty;
use PDO;
/**
@@ -80,11 +80,11 @@
/**
* Для каждого свойства...
*
* @var DBItemProperty $property Свойство.
* @var \goodboyalex\php_db_components_pack\models\DBItemProperty $property Свойство.
*/
foreach ($properties as $property) {
// ... если это первичный ключ
if ($property->IsPrimaryKey)
if ($property->Column->IsPrimaryKey)
// - то пропускаю его
continue;