montagejs / screening

50 stars 16 forks source link

Database code refactoring #263

Closed eliseosoto closed 12 years ago

eliseosoto commented 12 years ago

A lot of the DB code was duplicated across the different data providers.

This pull request replaces the duplicate code with generic CRUD methods in the MongoProvider object.