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

In #267 I described the incorrect behaviour, when generating DDLs with characters in name that are used for escaping on different plattforms. This is an attempt to fix it. I...

Minor change to show mysqli errno and error explicitly. Without this, mysqli errors do not get shown in some debuggers when preparing sql statements, for example [whoops](https://filp.github.io/whoops/). Here is an...

BC Break
Needs tests

Currently, the `$where` parameter in `AbstractTableGateway::select`, `AbstractTableGateway::update`, and `AbstractTableGateway::delete` will accept Closures, but not invokable classes. It would be nice if it were possible expand the allowed parameters types to...

This PR solves #270 . Predicates can now created from an invokable class. Like closures, the new predicates should directly added to the Select, Where or Update instance.

enhancement

[https://github.com/zendframework/zend-db/blob/master/src/Adapter/Platform/AbstractPlatform.php](url) line 44 ```PHP $parts = preg_split( '/([^0-9,a-z,A-Z$_:])/i', $identifier, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY ); ``` I run into problem because pattern '/([^0-9,a-z,A-Z$_:])/i', doesn't support utf8. I think pattern modifier 'u'...

https://github.com/zendframework/zend-db/blob/748f065ab8e64ab66213182a671513e9499957bc/src/Sql/Select.php#L426

I encountered a situation Where I want to fetch multiple columns with the same name where aliases are not an option, so I set the fetchmode to `\PDO::FETCH_NAMED` which resulted...

awaiting author updates

Many classes and interfaces don't have docblocks. A developer and the IDE is not able to know which data should returned. Best example is the TableGatewayInterface. Can I send an...

enhancement

This PR is for #297 and adds some docblocks for classes and interfaces.

enhancement
awaiting author updates
documentation

I am using php for long running scripts as a RabbitMq message comsumer. Messages can have DB access implemented as ZF3 / zend-db Tablegateway. The DB connection used is PDO_MYSQL....

feature request