| com.flexive.shared.scripting.groovy.GroovyQueryBuilder
GroovyQueryBuilder | public class GroovyQueryBuilder extends BuilderSupport (Code) | | An (experimental) groovy builder for search queries.
Example:
new GroovyQueryBuilder().select(["@pk", "caption", "*"]) {
eq("caption", "bla")
not_empty("filename")
or {
gt("id", 0)
lt("id", 100)
}
lt("created_at", new Date())
}.sqlQuery
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) version: $Rev: 181 $ |
GroovyQueryBuilder | public GroovyQueryBuilder()(Code) | | |
GroovyQueryBuilder | public GroovyQueryBuilder(SqlQueryBuilder builder)(Code) | | Use an external query builder as the target builder.
Parameters: builder - a sql query builder to be used for creating the query |
|
|