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

Refactor mongodb queries + defensive programming #67

Open
purukaushik opened this issue Aug 28, 2016 · 0 comments
Open

Refactor mongodb queries + defensive programming #67

purukaushik opened this issue Aug 28, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@purukaushik
Copy link
Collaborator

Refactor :

  1. MongoDB queries -> extract out common form, use var for networks, sites specific fields
  2. Do defensive programming checks like:
  3. check if collection exists
  4. check if query was successful
  5. check if array/fields for null, empty, type check
@purukaushik purukaushik added the p2 label Aug 28, 2016
@purukaushik purukaushik added this to the V1.2 milestone Aug 28, 2016
@purukaushik purukaushik self-assigned this Aug 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant