Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 836 Bytes

CHANGELOG.md

File metadata and controls

24 lines (22 loc) · 836 Bytes

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased]

TODO

  • Range for sql in (${u.Cities}).
  • more test case, and more covering.
  • Expression for select fields.
  • Rewrite types
  • Rewrite sql parser
  • id/page/offset/size null wrap not required
  • ${(page-1)*size} Support

Added

  • Intelligent guess, use ? not ${...}
  • Parse go source file by go/types(get signatures) and go/parser(get comments).
  • Parse sql (comment) to generate Statement AST.
  • Support CREATE statement.
  • Replacers #{...} like Variables ${...}.
  • Generate implemented file by method signature and sql AST.
  • Literal '...'
  • Fields is keyword ...