public function isColumnAppendPK(): bool
    {
        if (empty($this->append)) {
            return false;
        }

        if ($this->schema === TableStructure::SCHEMA_MSSQL) {
            if (stripos($this->append, 'IDENTITY') !== false && stripos($this->append, 'PRIMARY KEY') !== false) {
                return true;
            }
        } elseif (stripos($this->append, 'PRIMARY KEY') !== false) {
            return true;
        }

        return false;
    }
public function isColumnAppendPK(): bool
    {
        if (empty($this->append)) {
            return false;
        }

        if ($this->schema === TableStructure::SCHEMA_MSSQL) {
            if (stripos($this->append, 'IDENTITY') !== false && stripos($this->append, 'PRIMARY KEY') !== false) {
                return true;
            }
        } elseif (stripos($this->append, 'PRIMARY KEY') !== false) {
            return true;
        }

        return false;
    }
public function isColumnAppendPK ( ) : bool { if ( empty ( $ this -> append ) ) { return false ; } if ( $ this -> schema === TableStructure :: SCHEMA_MSSQL ) { if ( stripos ( $ this -> append , 'IDENTITY' ) !== false && stripos ( $ this -> append , 'PRIMARY KEY' ) !== false ) { return true ; } } elseif ( stripos ( $ this -> append , 'PRIMARY KEY' ) !== false ) { return true ; } return false ; }
Checks if information of primary key is set in append property.
@return bool
Checks if information of primary key is set in append property .