sqlc
ReferenceChangelog

v0.1.0

Released 2020-01-07 · View on GitHub

Documentation

  • Replace remaining references to DinoSQL with sqlc (#149)

README

  • Fix download links (#66)
  • Add LIMIT 1 to query that should return one (#99)

Catalog

  • Support "ALTER TABLE ... DROP CONSTRAINT ..." (#34)
  • Differentiate functions with different argument types (#51)

Ci

  • Enable tests on pull requests

Cmd

  • Include filenames in error messages (#69)
  • Do not output any changes on error (#72)

Dinosql/internal

  • Add lower and upper functions (#215)
  • Ignore alter sequence commands (#219)

Gen

  • Add DO NOT EDIT comments to generated code (#50)
  • Include all schemas when generating models (#90)
  • Prefix structs with schema name (#91)
  • Generate single import for uuid package (#98)
  • Use same import logic for all Go files
  • Pick correct struct to return for queries (#107)
  • Create consistent JSON tags (#110)
  • Add Close method to Queries struct (#127)
  • Ignore empty override settings (#128)
  • Turn SQL comments into Go comments (#136)

Internal/catalog

  • Parse unnamed function arguments (#166)

Internal/dinosql

  • Prepare() with no GoQueries still valid (#95)
  • Fix multiline comment rendering (#142)
  • Dereference alias nodes on walk (#158)
  • Ignore sql-migrate rollbacks (#160)
  • Sort imported packages (#165)
  • Add support for timestamptz (#169)
  • Error on missing queries (#180)
  • Use more database/sql null types (#182)
  • Support the pg_temp schema (#183)
  • Override columns with array type (#184)
  • Implement robust expansion
  • Implement robust expansion (#186)
  • Add COMMENT ON support (#191)
  • Add DATE support
  • Add DATE support (#196)
  • Filter out invalid characters (#198)
  • Quote reserved keywords (#205)
  • Return parser errors first (#207)
  • Implement advisory locks (#212)
  • Error on duplicate query names (#221)
  • Fix incorrect enum names (#223)
  • Add support for numeric types
  • Add support for numeric types (#228)

Internal/dinosql/testdata/ondeck

  • Add Makefile (#156)

Ondeck

  • Move all tests to GitHub CI (#58)

ParseQuery

  • Return either a query or an error (#178)

Parser

  • Use schema when resolving catalog refs (#82)
  • Support function calls in expressions (#104)
  • Correctly handle single files (#119)
  • Return error if missing RETURNING (#131)
  • Add support for mathmatical operators (#132)
  • Add support for simple case expressions (#134)
  • Error on mismatched INSERT input (#135)
  • Set IsArray on joined columns (#139)

Pg

  • Store functions in the catalog (#41)
  • Add location to errors (#73)

On this page