We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
globalPredicate
where
1 parent 5f5c592 commit e8aa876Copy full SHA for e8aa876
src/main/kotlin/team/yi/rsql/querydsl/QuerydslRsql.kt
@@ -87,7 +87,7 @@ class QuerydslRsql<E> private constructor(builder: Builder<E>) {
87
@Throws(RsqlException::class)
88
fun buildPredicate(): Predicate? {
89
entityClass.let {
90
- if (where.isNullOrBlank()) return null
+ if (where.isNullOrBlank()) return globalPredicate
91
92
val rootNode = RSQLParser(RsqlUtil.getOperators(rsqlConfig.operators)).parse(where)
93
val predicate = rootNode.accept(PredicateBuilderVisitor(it, predicateBuilder))
0 commit comments