-
Notifications
You must be signed in to change notification settings - Fork 10
DOCSP-51323: Databases & collections #111
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
Conversation
✅ Deploy Preview for docs-kotlin-sync ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
🔄 Deploy Preview for docs-kotlin-sync processing
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
||
// Accesses the "test_collection" collection | ||
// start-access-collection | ||
val collection = db.getCollection<Document>("test_collection") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No type argument is used
val collection = db.getCollection<Document>("test_collection") | |
val collection = db.getCollection("test_collection") |
|
||
// Deletes the "test_collection" collection | ||
// start-drop-collection | ||
db.getCollection<Document>("test_collection").drop() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
db.getCollection<Document>("test_collection").drop() | |
db.getCollection("test_collection").drop() |
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-51323
Staging Links
Self-Review Checklist