Skip to content

Cannot use FROM with multiple table names #160

Open
@designermonkey

Description

@designermonkey

The following is expected:

UPDATE "themes", "entities"
SET
    "themes"."name" = :themes.name
WHERE
    "entities"."uuid" = :uuid

instead when doing ->table(Tables::THEMES . ', ' . Tables::ENTITIES) I get:

UPDATE "themes," "entities"
SET
    "themes"."name" = :themes.name
WHERE
    "entities"."uuid" = :uuid

and when doing ->table(Tables::THEMES . ' , ' . Tables::ENTITIES) I get:

UPDATE "themes" "," "entities"
SET
    "themes"."name" = :themes.name
WHERE
    "entities"."uuid" = :uuid

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions