Skip to content

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

Merged
merged 5 commits into from
Jul 16, 2025

Conversation

norareidy
Copy link
Collaborator

@norareidy norareidy commented Jul 8, 2025

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-51323

Staging Links

  • databases-collections
  • Self-Review Checklist

    • Is this free of any warnings or errors in the RST?
    • Did you run a spell-check?
    • Did you run a grammar-check?
    • Are all the links working?
    • Are the facets and meta keywords accurate?
    • Are the page titles greater than 20 characters long and SEO relevant?

    @norareidy norareidy requested a review from a team as a code owner July 8, 2025 20:15
    @norareidy norareidy requested review from nhachicha and removed request for a team July 8, 2025 20:15
    Copy link

    netlify bot commented Jul 8, 2025

    Deploy Preview for docs-kotlin-sync ready!

    Name Link
    🔨 Latest commit e128802
    🔍 Latest deploy log https://app.netlify.com/projects/docs-kotlin-sync/deploys/6877ada8b6bfa800083f2619
    😎 Deploy Preview https://deploy-preview-111--docs-kotlin-sync.netlify.app
    📱 Preview on mobile
    Toggle QR Code...

    QR Code

    Use your smartphone camera to open QR code link.

    To edit notification comments on pull requests, go to your Netlify project configuration.

    @docs-builder-bot
    Copy link

    docs-builder-bot commented Jul 8, 2025

    🔄 Deploy Preview for docs-kotlin-sync processing

    Item Details
    🔨 Latest Commit 79611efb2f39368e0aff4eb6aaa9973eb8014b93
    😎 Deploy Preview https://deploy-preview-111--docs-kotlin-sync.netlify.app
    🔍 Build Logs View Logs

    Copy link
    Collaborator

    @stephmarie17 stephmarie17 left a 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")

    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

    Suggested change
    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()

    Choose a reason for hiding this comment

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

    Suggested change
    db.getCollection<Document>("test_collection").drop()
    db.getCollection("test_collection").drop()

    @norareidy norareidy requested a review from nhachicha July 16, 2025 13:48
    @norareidy norareidy merged commit 294b18c into mongodb:comp-cov Jul 16, 2025
    6 checks passed
    @norareidy norareidy deleted the DOCSP-51323-db-coll branch July 16, 2025 17:42
    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.

    4 participants