oracle / quicksql

A library for generating DDL SQL and entity-relationship-diagrams from Quick SQL code
Universal Permissive License v1.0
52 stars 11 forks source link

Confusing that #semantics:default is required to get default semantics #58

Closed stevemuench closed 6 months ago

stevemuench commented 6 months ago

It is puzzling why, by default, QuickSQL does not give me default semantics for varchar2 column sizes.

I always have to include #semantics:default in order to get the default semantics.

It would make more sense for default to be the default for semantics, and that you could use #semantics to get a non-default semantics.

stevemuench commented 6 months ago

After internal discussion, decided to close this with no further action. The default in the semantics is intended to mean the RDBMS' default semantics, and not the QuickSQL default for its semantics property, which is consciously using char by default.