Open avishaan opened 9 years ago
In mongoose schema use select: false to prevent field from accidentally being populated and sent back to front end
{select: false} seems to suppress all fields in the schema. Need to see if this is a bug.
{select: false}
In mongoose schema use select: false to prevent field from accidentally being populated and sent back to front end