Skip to content

Conversation

@Aeonax
Copy link
Owner

@Aeonax Aeonax commented Apr 16, 2019

In plans:

  • Rewrite project architecture it should be simpler and in same time propose more flexibility
    • Architecture
      • Rewrite compilation it should support partials build - just one clause, expressions, ....
      • Params
      • check performance in compare with previous realisation.. may be slower? =(
      • don't forget to clean old code
    • Change modules/functions names they should be more understandable...
    • Errors
      • don't forget about stack trace from structures... at least approximate=))
  • Rewrite Constructor It should be spliced in to two classes
    • will be constructed during class initialisation and will be nice to store parsed structures
      • if it will store sql parsed how nicely organise storage depending on dynamic params...
      • how i should name it.... or them....-_-
    • current constructor but extended?
  • Change syntax
    • Change JOIN syntax. Don't forget to add this in version updates list-_-
      • Damn forgot about NATURAL and CROSS
    • Conditions
      • >, <, >=, <=
      • sub queries... 'user_id IN (?)', sub_query sucks
      • operator with not_#{operator_name} support # Should i really bother with this?
      • exists
    • From support of Constructor
    • COUNT operator without args == COUNT(*)
    • TRUE|FALSE in conditions
    • Integer in conditions # .... O_o What does it means....-_-
    • Change ORDER. expressions with ASC|DESC|NULL
    • Optional
      • SELECT ..... INTO
      • SELECT ..... FOR
  • Tests!!!! >_<
  • More tests=)))
  • Advanced examples
  • Check and fix if wrong
    • CASE support both syntaxes CASE #{value} WHEN #{another_value} and CASE WHEN #{value} = #{another_value}
  • Explain!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants