Skip to content

Commit e58ecc4

Browse files
authored
Merge pull request #13 from SlicingDice/feature/remove-limit-check-data-extraction
Remove limit check on data extraction queries
2 parents 39fcfc7 + f862f71 commit e58ecc4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/com/slicingdice/jslicer/utils/validators/QueryDataExtractionValidator.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ private boolean validKeys() {
4747
if (!(this.data.get(key) instanceof Integer)) {
4848
throw new InvalidQueryException("The key 'limit' in query has a invalid value.");
4949
}
50-
if (this.data.getInt(key) > 100) {
51-
throw new InvalidQueryException("The field 'limit' has a value max of 100.");
52-
}
5350
} else if (key.equals("fields")) {
5451
if (this.data.getJSONArray("fields").length() > 10) {
5552
throw new MaxLimitException("The key 'fields' in data extraction result must" +

0 commit comments

Comments
 (0)