Skip to content

Commit

Permalink
Add builder api resultKeys(String... keys) (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
sim-wangyan committed May 31, 2022
1 parent 7916229 commit 950e255
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,15 @@ public ResultMapBuilder resultKey(String resultKey) {
return this;
}

public ResultMapBuilder resultKeys(String... resultKeys) {
if (resultKeys == null)
return this;
for (String resultKey : resultKeys){
resultKey(resultKey);
}
return this;
}

/**
*
* @param resultKey
Expand Down

0 comments on commit 950e255

Please sign in to comment.