Cakephp: Add support for PostgreSQL FROM clause in UPDATE statements

Created on 9 Nov 2016  路  2Comments  路  Source: cakephp/cakephp

This is a (multiple allowed):

  • [ ] bug
  • [x] enhancement
  • [ ] feature-discussion (RFC)

  • CakePHP Version: 3.4.0

  • Platform and Target: PostgreSQL 9.5

What you did

PostgreSQL supports the updating of table_a from table_b as part of the syntax of an UPDATE statement using the FROM clause.

What happened

FROM clause is ignored.

What you expected to happen

Support for the FROM clause in the UPDATE SQL when using PostgreSQL.

Please note: I had already added support in #9730 but I want to now separate into a different pull request for testing reasons.

database enhancement stale

Most helpful comment

I would like this, but also for MySQL... I think SQL server also supports it

All 2 comments

I would like this, but also for MySQL... I think SQL server also supports it

This issue is stale because it has been open for 120 days with no activity. Remove the stale label or comment or this will be closed in 15 days

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lorenzo picture lorenzo  路  4Comments

nrother picture nrother  路  3Comments

jorisvaesen picture jorisvaesen  路  3Comments

micdobro picture micdobro  路  3Comments

ndm2 picture ndm2  路  3Comments