Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FROM problem #170

Merged
merged 2 commits into from
Dec 27, 2020
Merged

Update FROM problem #170

merged 2 commits into from
Dec 27, 2020

Commits on Apr 29, 2020

  1. Update FROM problem

    Missing `FROM` in update part
    
    expected:
    WITH archived AS (
                DELETE
                FROM "employees"
                WHERE "manager_name" = \'Mary\'
                RETURNING "user_id"
              )
              UPDATE "users" SET archived = true FROM "archived" WHERE "archived"."user_id" = "id" RETURNING "id"
    
     got:
     WITH archived AS (
                 DELETE
                 FROM "employees"
                 WHERE "manager_name" = \'Mary\'
                 RETURNING "user_id"
               )
               UPDATE "users" SET archived = true  WHERE "archived"."user_id" = "id" RETURNING "id"
    Mehmet Emin KARAKAŞ committed Apr 29, 2020
    Configuration menu
    Copy the full SHA
    85c0952 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2020

  1. Configuration menu
    Copy the full SHA
    ea64d32 View commit details
    Browse the repository at this point in the history