How do I implement https://stackoverflow.com/a/16392399/14731 using QueryDSL SQL?
I understand that
new SQLSubQuery().from(customer).where(customer.email.eq("[email protected]"))
models
select customer where customer.email = '[email protected]'
but I don't understand how to select [literal] such as:
select 1 from customer
or
select '[email protected]', 0
as required by the aforementioned link.