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

Aggregate QSQL API calls into single one #23

Closed vadim-tropashko closed 9 months ago

vadim-tropashko commented 10 months ago

Currently, QSQL API contains dependent functions. For example, the methods listing errors/warnings, or translating to ERD call the main method toDDL() which builds the parse tree. A better design would be having a single method, constructing a composite object which includes all the information: the parse tree, the list of errors, the translated SQL code, and the ERD.