#mongoose code

14 messages · Page 1 of 1 (latest)

coarse needle

hello, im trying to make a modlog system. would this work? i can show my guild schema too

frank nestBOT
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
deep ice

from past experience, you shouldnt create large object arrays like that on documents, it will slow down operations massively

you'd be better off making a separate collection just for the modlogs

but even if you choose not to, you should use $push, and not set there

coarse needle

i did that before but i just thought it was a bad idea

deep ice
coarse needle

okay ty

coarse needle
coarse needle
coarse needle

i banned someone but in my mongo compass it just shows as this