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

Introduce ALTER TABLE query #726

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Commits on Dec 5, 2022

  1. chore: fix typos in comments

    bevzzz committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    d605c42 View commit details
    Browse the repository at this point in the history
  2. refactor: db.HasFeature is a shortcut for db.fmter.HasFeature, use it…

    … in InsertQuery.Ignore()
    bevzzz committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    911ce6a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a6ce183 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bcb8135 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f8ff602 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2022

  1. refactor: handle different ALTER TABLE modifications in "sub-queries"

    Unlike most of the other SQL queries, ALTER TABLE has a number of statements
    it can branch out to. Handling all of them in one object may become overwhelming very soon.
    
    + introduce ifExists type alias for boolean `ifExists`
    bevzzz committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    cf62d64 View commit details
    Browse the repository at this point in the history
  2. feat: change column type in ALTER COLUMN subquery

    ALTER COLUMN statements can be chained within the same ALTER TABLE query
    bevzzz committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    99743c9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e409c36 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    234f34f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8abcf63 View commit details
    Browse the repository at this point in the history
  6. refactor: unify code style, use existing patterns, and highlight impl…

    …emented interfaces in structs
    bevzzz committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    533383a View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

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