Skip to content

SQLite update queries do not allow table refs in SET and WHERE #15

@molcikas

Description

@molcikas

SQLite does not allow UPDATE queries to have table references in the SET and WHERE clauses. This causes photon to error when updating entities.

Not allowed:

UPDATE Tomato
SET Tomato.color = 'red'
WHERE Tomato.tomatoId = 9999

Allowed:

UPDATE Tomato
SET color = 'red'
WHERE tomatoId = 9999

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions