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

Support UNION queries #790

Closed
wants to merge 5 commits into from
Closed

Support UNION queries #790

wants to merge 5 commits into from

Commits on Nov 17, 2020

  1. Support UNION queries

    This commit adds support for `UNION` in `internal/compiler`. It also adds
    test cases for `UNION` in a `SELECT` and in a `WITH RECURSIVE` query.
    
    It fixes sqlc-dev#568, sqlc-dev#723 and sqlc-dev#778.
    aitva committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    ded7b1a View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2020

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

Commits on Feb 14, 2021

  1. Configuration menu
    Copy the full SHA
    fe021c7 View commit details
    Browse the repository at this point in the history
  2. sql/ast: add enum values for SetOperation

    This commit adds enum values for SetOperation. The values are extracted from
    the parser sources in pg_query_go:
    
    typedef enum SetOperation
    {
        SETOP_NONE = 0,
        SETOP_UNION,
        SETOP_INTERSECT,
        SETOP_EXCEPT
    } SetOperation;
    aitva committed Feb 14, 2021
    Configuration menu
    Copy the full SHA
    b4ee7cd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    709f873 View commit details
    Browse the repository at this point in the history