Skip to content
This repository was archived by the owner on Sep 4, 2019. It is now read-only.

Commit 03b6bda

Browse files
author
jiangnan
committed
添加like,not like查询
1 parent 05ec01a commit 03b6bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/io/github/iamazy/elasticsearch/dsl/sql/SqlParserSelectFieldTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void test2(){
7676

7777
@Test
7878
public void test3(){
79-
String sql="select * from aa";
79+
String sql="select * from aa where bb not like '%dfs_fsdf%' and cc in (1,2,3,4)";
8080
ElasticSql2DslParser sql2DslParser=new ElasticSql2DslParser();
8181
ElasticSqlParseResult parseResult = sql2DslParser.parse(sql);
8282
System.out.println(parseResult.toPrettyDsl(parseResult.toRequest()));

0 commit comments

Comments
 (0)