-
Notifications
You must be signed in to change notification settings - Fork 25
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
Assignment 3: MongoDB CRUD Operations #39
base: main
Are you sure you want to change the base?
Assignment 3: MongoDB CRUD Operations #39
Conversation
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.
Great job
I would recommend you to participate in the Hacktoberfest 2021 and follow the contribution instructions from there for this PR. |
assignment_3/src/main.rs
Outdated
#[tokio::main] | ||
async fn main() -> mongodb::error::Result<()> { | ||
// Making Database connection | ||
let mut client_options = ClientOptions::parse("mongodb://vidly-user:12345@vidly-shard-00-00.ypxnu.mongodb.net:27017,vidly-shard-00-01.ypxnu.mongodb.net:27017,vidly-shard-00-02.ypxnu.mongodb.net:27017/vidly?ssl=true&replicaSet=atlas-1437c6-shard-0&authSource=admin&retryWrites=true&w=majority").await?; |
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.
Can you please remove credentials (i.e. username and password) from this DB_URL
?
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.
done sir!
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.
Thanks. But why didn't you push change in a single commit?
Sir I did a single commit. Only I changed the heading of Pull Request online. |
What I mean to say is now your PR consist of 2 commits look here. |
adding assignment 3 solution