0

I've been looking around to find some way of setting a rule in my MongoDB database so that I can store rgb values and ensure that they stay between 0 and 255, is there a way of doing this in Mongoose e.g. the schema model or will I need to do this at application level?

Neil Lunn
  • 148,042
  • 36
  • 346
  • 317
unkwndev
  • 99
  • 1
  • 8

0 Answers0