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

(DOCSP-42573) Update transactions in Functions info about read/write settings #860

Merged
merged 4 commits into from
Oct 2, 2024

Conversation

amalhotra-mdb
Copy link
Collaborator

@amalhotra-mdb amalhotra-mdb commented Oct 2, 2024

Removing any mentions + code of creating a configuration object that sets user's preferred read/write settings and passing it to the session method. These settings are not configured in this context and not respected.

Pull Request Info

Jira ticket: https://jira.mongodb.org/browse/DOCSP-42573

Staging Links

  • functions/mongodb/write
  • Reminder Checklist

    Before merging your PR, make sure to check a few things.

    • Did you tag pages appropriately?
      • genre
      • programming_language
      • meta.keywords
      • meta.description
    • Describe your PR's changes in the Release Notes section
    • Create a Jira ticket for related docs-realm work, if any

    Release Notes

    Review Guidelines

    REVIEWING.md

    Copy link

    netlify bot commented Oct 2, 2024

    Deploy Preview for app-services ready!

    Name Link
    🔨 Latest commit ac5f355
    🔍 Latest deploy log https://app.netlify.com/sites/app-services/deploys/66fda0c914984c00086f9308
    😎 Deploy Preview https://deploy-preview-860--app-services.netlify.app
    📱 Preview on mobile
    Toggle QR Code...

    QR Code

    Use your smartphone camera to open QR code link.
    Lighthouse
    Lighthouse
    1 paths audited
    Performance: 30 (🔴 down 2 from production)
    Accessibility: 85 (no change from production)
    Best Practices: 75 (no change from production)
    SEO: 77 (no change from production)
    PWA: -
    View the detailed breakdown and full score reports

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

    Copy link
    Collaborator

    @dacharyc dacharyc left a comment

    Choose a reason for hiding this comment

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

    Awesome job! 👏 Thanks for not just fixing the obvious issue requested in the ticket, but also the other problems you spotted while working on the page. Great work 😄

    @@ -1,10 +1,10 @@
    exports = function () {
    const client = context.services.get("mongodb-atlas");

    db = client.db("exampleDatabase");
    const db = client.db("exampleDatabase");
    Copy link
    Collaborator

    Choose a reason for hiding this comment

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

    Well-spotted! Nice fixups - thank you! 🙏

    @@ -439,7 +431,7 @@ To perform a transaction:
    }

    The following example creates two users, "henry" and "michelle", and
    a uses a transaction to move "browniePoints" between those users
    uses a transaction to move "browniePoints" between those users
    Copy link
    Collaborator

    Choose a reason for hiding this comment

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

    Ooo, another good spot - nice work!

    @amalhotra-mdb amalhotra-mdb merged commit e0c451b into mongodb:master Oct 2, 2024
    8 checks passed
    @amalhotra-mdb amalhotra-mdb deleted the DOCSP-42573 branch October 2, 2024 19:55
    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