#DB not saving correctly [MongoDB]

6 messages · Page 1 of 1 (latest)

neat aurora

https://srcb.in/yERwjMUSAx
Whenever I type a subcommand in this file and check a forum's info, it stays the same despite having been changed using the subcommand.

neat aurora

i.e. where you're doing guildData.forums.find - is it returning anything?

without knowing much about mongodb, i assume it's because you're directly updating the referenced object but then not making the change in the database before calling .save()

neat aurora