zend-db icon indicating copy to clipboard operation
zend-db copied to clipboard

Db component from Zend Framework

Results 100 zend-db issues
Sort by recently updated
recently updated
newest added

Zend\Db\Sql is missing a way to create a REPLACE INTO table_name VALUES(row_data) statement. Thought, I'd add this here 'cause apparently noone else was missing that feature.

enhancement
help wanted

in my case i have a table with "my field" as field name it is returned as "[my] [field]" instead of "[my field]". The problem is currently being triggered in...

bug
help wanted

Since the Interface already has beginTransaction() and commit(), i'd suggest adding inTransaction() to the Interface. The property is set by the classes themselves in these both methods so I don't...

enhancement
BC Break

From [Sqlite](https://www.sqlite.org/foreignkeys.html#fk_enable) documentation : > Foreign key constraints are disabled by default (for backwards compatibility), so must be enabled separately for each database connection. (Note, however, that future releases of...

fixed the CS (at least i hope so) and PR'd the branch instead of my master.

BC Break

In /src/Metadata/Source/OracleMetadata.php#L127 :table is a reserved word and therefore the query fails

I'm dropping a constraint on mysql5.6, code: ``` php $AlterTable = new Ddl\AlterTable($test_table_name); $AlterTable->dropConstraint('text_UniqueKey'); echo $sql->buildSqlString($AlterTable,$adapter); $adapter->query( $sql->buildSqlString($AlterTable,$adapter), $adapter::QUERY_MODE_EXECUTE ); ``` And this code output : ``` sql ALTER TABLE...

bug

I would like to see a native Firebird driver like we had in ZF1 that does not rely on PDO. I have already created a Zend-Db Firebird driver that uses...

The doc block states that an `PredicateInterface[]` will be returened. What is returned is a copy of the `protected $predicates[]` member. This array is populated by the `orPredicate`and `andPredicate` functions...

I'm trying to use a function as a table in Zend\Db\Sql\Select and it appears to be quoting incorrectly. The entire function including parens is wrapped in quotes and I get...