-
Notifications
You must be signed in to change notification settings - Fork 6
VladN-week1-Database #6
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
base: main
Are you sure you want to change the base?
Conversation
yunchen4
left a comment
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.
Hi Vlad,
Overall it is a great job. I can see you are exploring more advanced concepts 👍
I have made the points that need rework explicit. I also left some comments just for improvements.
Please ping me on Slack when you finish rework. If you have any questions, don't hesitate to contact me on Slack. Have a nice weekend!
yunchen4
left a comment
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, just a small suggestion for code readability.
| let admin; // reference to admin client | ||
| let db; // reference to meetup client |
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.
You can consider using just one instance of Client and do something like:
client.end();
client.database = "meetup";
client.connect();
This way the code will be more readable.
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.
Thank you! Next time will do it!
No description provided.