free website design templates

Daobab rules

Before you start...

There are a few rules, created to establish some order and make query building easy.

Let's browse them briefly:

1. Implement TablesDictionary anywhere you want to build query.
This interface provides all tables with tab prefix along with parsers.
Also provides a database documentation available anywhere you need.

2. Prefixes are important
You may find prefixes as follows:
- tab - for tables
- view - for views
- col - for columns
- to - for parse methods

3. Import static constraints and methods
For things like AND(),OR(),NOT() and Operators, it's better to import static constraints to make the query clean.

4. Clone objects before modification
At the moment, Daobab objects are mutable.
Because of that, if you want to change them, first clone them to avoid concurrent modifications.

© Copyright 2020 Elephant Software Klaudiusz Wojtkowiak