gert-wijns / TypeSafeQueryBuilder

Compile time assistence while creating queries, making them more type safe and easier to refactor
6 stars 8 forks source link

Select restriction (as boolean) #83

Closed gert-wijns-pearl closed 7 years ago

gert-wijns-pearl commented 7 years ago

To "select hobj1.name = hobj2.name, ..", currently the only possibility is to use "select case when(hobj1.name = hobj2.name) then true else false end". If restriction could be "selected", then it would be possible to select a condition as boolean, removing the need to use a case when in this case.