exasol / sql-statement-builder

Build SQL statements safely without string concatenation
MIT License
25 stars 4 forks source link

Fluent interface broken #65

Closed jakobbraun closed 4 years ago

jakobbraun commented 4 years ago

the fluent programming pattern is not used consequently any more:

Designed was:

final Select select = StatementFactory.getInstance()
    .select()
    .field("fieldA", "tableA.fieldB", "tableB.*")
    .from()
    .table("schemaA.tableA")
    .limit(10);

Now it is: (see #64 )

final Select select = StatementFactory.getInstance()
        .select();
select.field("fieldA", "tableA.fieldB", "tableB.*")
        .from()
        .table("schemaA.tableA");
select.limit(10);
AnastasiiaSergienko commented 4 years ago

Closed with #73