JSqlParser
JSqlParser copied to clipboard
Added support for NOT RLIKE expressions
trafficstars
Added support for NOT RLIKE expressions #1553
#1553
Greetings!
Thank you very much for your contribution. Although I have some concerns:
-
You extend the
LikeExpression, but without further defining what variant oflikehas been used. -
So how will the
Deparserand/ortoString()method rebuild the original SQL statement correctly?
public String getStringExpression() {
// something needs to be done for RLIKE here
return caseInsensitive ? "ILIKE" : "LIKE";
}
- Are you sure, your provided test case ran successfully? Have you tried
gradle buildormvn packagebefore submitting?
Incorporated via https://github.com/manticore-projects/JSqlParser/commit/f132547f56a1edd6e6a0e1454b53ac2e422a835b