Skip to content

Releases: DerekStride/sql_tools

v0.2.2

04 Jul 15:51
Compare
Choose a tag to compare

Bugfix: update gemfile.lock

v0.2.1

04 Jul 15:50
Compare
Choose a tag to compare

Bugfix: update gemfile.lock

v0.2.0

04 Jul 15:48
Compare
Choose a tag to compare

Added support for parsing create_table DDL statements

v0.1.0

03 Jul 14:01
Compare
Choose a tag to compare

Initial Release

  • Selections should be mostly complete, please raise issues if there's problems with them.
  • Predicates & JOINs are still a work in progress, you can consider their implementation incomplete or incorrect.
  • CTE's exist but are largely untested and may behave in strange mannors

Usage

query = SqlTools.query_from_sql(<<~SQL)
  SELECT id, name
  FROM table
  WHERE id IN (1, 2, 3)
SQL

pp query.selections