Skip to content

Fails to parse PostgreSQL UPDATE ... FROM with table aliases (E014) #273

Description

@Leo5878

Expected behavior
Should correctly parse PostgreSQL UPDATE ... FROM queries with table aliases.

Error: [E014] Failed to find a table name from a FROM statement: statement:

Minimal reproducible example

UPDATE user_configs uc
SET config = $2
FROM users u
WHERE uc.user_id = u.id
  AND u.user_id_tg = $1;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions