Mongoose create test data and populate without a database connection Mongoose create test data and populate without a database connection mongoose mongoose

Mongoose create test data and populate without a database connection


calling setValue will retain the hydrated document:

car1.setValue('engine', engine1)