Skip to content
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

How to use find() method for select all document? #1

Closed
congpc opened this issue May 11, 2016 · 1 comment
Closed

How to use find() method for select all document? #1

congpc opened this issue May 11, 2016 · 1 comment

Comments

@congpc
Copy link

congpc commented May 11, 2016

As the document http://www.tutorialspoint.com/mongodb/mongodb_query_document.htm. I see find() method for select all document. How use 'find()' method with this connector?

@congpc congpc changed the title How to use find() method? How to use find() method for select all document? May 11, 2016
@kjessup
Copy link
Member

kjessup commented Jun 13, 2016

You can call collection.find(query: BSON()) with an empty document to find all. Check the test case testCollectionFind.

@kjessup kjessup closed this as completed Jun 13, 2016
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

No branches or pull requests

2 participants