-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I am using Vert.x - I need to use an async db driver, but I was thinking of using this library to generate the query strings and then passing the strings to another lib to run the query.
So instead of doing this:
List<Customer> customers
= new QCustomer()
.name.istartsWith("rob")
.billingAddress.city.equalTo("Auckland")
.setMaxRows(10)
.orderBy()
.name.asc()
.findList();I am looking to just grab the SQL string:
String query
= new QCustomer()
.name.istartsWith("rob")
.billingAddress.city.equalTo("Auckland")
.setMaxRows(10)
.orderBy()
.name.asc()
.getSQLStatement(); // not sure what call to useis this possible? Looking for an example, thanks
Metadata
Metadata
Assignees
Labels
No labels