Sohorev Sergey

Results 8 comments of Sohorev Sergey

ok, i am create issue: https://github.com/PHP-DI/ZF2-Bridge/issues/15

Because in my project does not use db view I solved the problem simply (custom PostgresqlMetadata): ``` class PostgresqlMetadata extends \Zend\Db\Metadata\Source\PostgresqlMetadata { /** * {@inheritdoc} */ public function getTable($tableName, $schema...

PostgresqlMetadata#loadConstraintData generate query: ``` SELECT "t"."table_name", "tc"."constraint_name", "tc"."constraint_type", "kcu"."column_name", "cc"."check_clause", "rc"."match_option", "rc"."update_rule", "rc"."delete_rule", "kcu2"."table_schema" "referenced_table_schema", "kcu2"."table_name" "referenced_table_name", "kcu2"."column_name" "referenced_column_name" FROM "information_schema"."tables" t INNER JOIN "information_schema"."table_constraints" tc ON "t"."table_schema" = "tc"."table_schema"...

to solve the problem I wrote a custom class RowGateway with method save. It is characterized by obtaining the value primaryKeyValue: ``` $primaryKeyValue = $this->sql->getAdapter()->getDriver()->getLastGeneratedValue($this->tableGateway->getSequenceName()); ``` ``` namespace QP\Db\RowGateway; class...

When you plan to fix the bug? I need to understand whether or not to wait for the decision or to use something else for menu.

@froschdesign thankyou for you patch When you plan add it to composer package?