Conditions missing when switching to Custom query

PHP/MySQL/Wappler V 5.2.1

When I switch from a simple query to a custom query the conditions are not copying over.
Original

Custom

Back to Simple

Do you have the experimental options on?

Yes

Fixed in Wappler 5.2.2

Unfortunately this doesn’t seem to actually be fixed…

Original

Custom

Back to Simple

Oh, you mean the conditional expression, the where conditions are now all correctly when switching. The conditional is something that only simple queries support, there is no such thing in custom queries. We should probably disallow switching to custom or show a warning when conditionals are used since it isn’t supported.

Ah. Bummer. It would be better, IMHO, if you supported conditional expressions in custom queries. :slight_smile: