gnormal / gnorm

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

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

Open Ompluscator opened 5 years ago

Ompluscator commented 5 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