Skip to content

Commit

Permalink
feat: 增加neq条件,等同于eq.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-hao committed Dec 26, 2023
1 parent 4d72022 commit 84bdea1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public interface RDBFeatures {
SymbolTermFragmentBuilder is = new SymbolTermFragmentBuilder("is", "等于", "=");

SymbolTermFragmentBuilder not = new SymbolTermFragmentBuilder("not", "不等于", "!=");
SymbolTermFragmentBuilder notEq = new SymbolTermFragmentBuilder("neq", "不等于", "!=");

LikeTermFragmentBuilder like = new LikeTermFragmentBuilder(false);
LikeTermFragmentBuilder nlike = new LikeTermFragmentBuilder(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public RDBSchemaMetadata(String name) {
addFeature(RDBFeatures.eq);
addFeature(RDBFeatures.is);
addFeature(RDBFeatures.not);
addFeature(RDBFeatures.notEq);
addFeature(RDBFeatures.gt);
addFeature(RDBFeatures.gte);
addFeature(RDBFeatures.lt);
Expand Down

0 comments on commit 84bdea1

Please sign in to comment.