gnormal / gnorm

A database-first code generator for any language
https://gnorm.org
Other
484 stars 39 forks source link

bugfix: fixed String() and Values() methods for andClause and orClause #107

Open Ompluscator opened 6 years ago

Ompluscator commented 6 years ago

String() method: added wrapper with brackets, so it renders "( ..... AND ..... )" and now it supports nested AND/OR clauses Values() method: fixed wrong fetching of the values (adding nil values into array of interfaces, when they are not defined), so it can supports nested AND/OR clauses