We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I changed to code to this MongoClientImpl
private FindIterable<JsonObject> doFind(String collection, JsonObject query, FindOptions options) { MongoCollection<JsonObject> coll = getCollection(collection); Bson bquery = wrap(encodeKeyWhenUseObjectId(query)); FindIterable<JsonObject> find = coll.find(bquery, JsonObject.class); if (options.getBatchSize() > 0) { find.batchSize(options.getBatchSize()); } if (options.getLimit() != -1) { find.limit(options.getLimit()); } if (options.getSkip() > 0) { find.skip(options.getSkip()); } if (options.getSort() != null) { find.sort(wrap(options.getSort())); } if (options.getFields() != null) { find.projection(wrap(options.getFields())); } return find; }
The text was updated successfully, but these errors were encountered:
Can you submit a proper PR for this?
Sorry, something went wrong.
Respect batchSize option in FindIterable
7724f2e
fixes vert-x3/issues/172
No branches or pull requests
I changed to code to this
MongoClientImpl
The text was updated successfully, but these errors were encountered: