Skip to content

RUBY-1025 Make sure collections info returns all results #690

New issue

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

Merged
merged 2 commits into from
Sep 10, 2015

Conversation

estolfo
Copy link
Contributor

@estolfo estolfo commented Sep 9, 2015

No description provided.

@@ -51,6 +51,7 @@ class View
def collection_names(options = {})
@batch_size = options[:batch_size]
server = next_primary
@limit = -1 if server.context.features.list_collections_enabled?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can just be server.features.list_collections_enabled?

@durran
Copy link
Member

durran commented Sep 10, 2015

Just the one comment then I think good to go.

@estolfo estolfo force-pushed the RUBY-1025-collections-info branch from 22faf79 to f7b2e8c Compare September 10, 2015 17:45
estolfo added a commit that referenced this pull request Sep 10, 2015
RUBY-1025 Make sure collections info returns all results
@estolfo estolfo merged commit 8d8b03a into mongodb:master Sep 10, 2015
@estolfo estolfo deleted the RUBY-1025-collections-info branch October 26, 2015 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants