zendframework/zf2 — pull request #2809 by pozs (2012-10-19 19:46:42+00:00)
Title: Allow Zend\Db\Sql\TableIdentifier in Zend\Db\Sql\Insert, Update & Delete

With this patch Zend\Db\Sql\TableIdentifier is allowed in
- `Zend\Db\Sql\Insert::__construct()`
- `Zend\Db\Sql\Insert::into()`
- `Zend\Db\Sql\Update::__construct()`
- `Zend\Db\Sql\Update::table()`
- `Zend\Db\Sql\Delete::__construct()`
- `Zend\Db\Sql\Delete::from()`

Previously it was already accepted by
- `Zend\Db\Sql\Sql::__construct()`
- `Zend\Db\Sql\Select::__construct()`
- `Zend\Db\Sql\Select::from()`

Before, while this code worked:

$sql = new Sql($tableIdentifier);
$sql->select();
...

These failed:

$sql = new Sql($tableIdentifier);
$sql->insert();
...
$sql->update();
...
$sql->delete();
...

This patch would be essential to those, who works with multiple schemas simultaneously.