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

The table gateway feature "[Sequence](https://github.com/zendframework/zend-db/blob/master/src/TableGateway/Feature/SequenceFeature.php)" needs some explanation and a code example.

EasyFix
documentation

Metadata\Source\Factory throws specific exception when the platform is not supported. It will help to catch this specific exception in zf-apigility-admin, matching exception by text is too fragile. https://github.com/zfcampus/zf-apigility-admin/pull/365/files

BC Break
feature request

In `./src/Sql/Insert.php` there is a protected variable `$select` (line 46). However, this variable is not able to be retrieved directly because 1. The magic getter (line 275) only retrieves values...

In the Select section, API description, replace ``` public function join(string|array $name, string $on, string|array $columns = self::SQL_STAR, string $type = self::JOIN_INNER) : self; ``` by ``` public function join(string|array...

bug
EasyFix
awaiting author updates
documentation

Now exists [ProfilerInterface](https://github.com/zendframework/zend-db/blob/ae46299099c724a96fd088ae05a0b64e3748a808/src/Adapter/Profiler/Profiler.php) which has ability to collect data. I think there should exist `ReaderInterface` which would provide way to read data. Eg: ```

When I do a query on my database I obtain an error depending on what driver is configurated. I tryed to understand how the query is resolved and performed a...

In Zend\Db\TableGateway\AbstractTableGateway update method if you send where as clossure is sent as a parameter in update->where `if ($where !== null) { $update->where($where); } ` So the closure end up...

For original thought process on this list see #186 - [x] Explicit sequence with string or array identifier - [x] Multiple sequences per table (would love ideas for improvement) -...

enhancement
WIP

My table 'users' have following structure (postgree): ``` CREATE TABLE users ( id serial NOT NULL, login character varying(255), CONSTRAINT users_pkey PRIMARY KEY (id) ) WITH ( OIDS=FALSE ); ```...

feature request

in the class Zend\Db\Metadata\Source\PostgresqlMetadata method loadTableNameData works very slowly. It generate query: ``` SELECT "t"."table_name", "t"."table_type", "v"."view_definition", "v"."check_option", "v"."is_updatable" FROM "information_schema"."tables" t LEFT JOIN "information_schema"."views" v ON "t"."table_schema" = "v"."table_schema"...