We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa7cfd1 commit edc1ba8Copy full SHA for edc1ba8
driver/src/main/java/jdbc/Utils.java
@@ -75,8 +75,8 @@ public static int parseDbIndex(@NotNull String db) {
75
return q -> q.containsParam(keyword);
76
}
77
78
- public static @NotNull Predicate<RedisQuery> paramCount(int count) {
79
- return q -> q.getParams().length == count;
+ public static @NotNull Predicate<RedisQuery> length(int length) {
+ return q -> 1 /* command */ + q.getParams().length == length;
80
81
82
0 commit comments