MongoDB and Mongoose

MongoDB and Mongoose
0
#1

//----- DO NOT EDIT BELOW THIS LINE ----------------------------------

exports.PersonModel = Person;

exports.createAndSavePerson = createAndSavePerson;

exports.findPeopleByName = findPeopleByName;

exports.findOneByFood = findOneByFood;

exports.findPersonById = findPersonById;

exports.findEditThenSave = findEditThenSave;

exports.findAndUpdate = findAndUpdate;

exports.createManyPeople = createManyPeople;

exports.removeById = removeById;

exports.removeManyPeople = removeManyPeople;

exports.queryChain = queryChain; <-- /* i am getting an error here saying that ‘{’ expected
??

wat could be the issue ?
please help, I am doing this in fcc

0 Likes

#2

Could you please share the code and mention the challenge you are trying to solve?

0 Likes

#3

I think I should see it after completing the challenge btw Thank you so much jasmeet …

1 Like

#4

Yeah, sure :slight_smile:

1 Like