What's wrong with this schema validation rule:{validator: {email: {$regex: /@mongodb.com$/}}}? - Study24x7
Social learning Network
5 followers study24x7 16 Dec 2024 11:33 AM study24x7 study24x7

What's wrong with this schema validation rule:
See more

A

The regex is incorrect

B

The validator should be set on the collection level

C

The field 'email' doesn't exist

D

No issue

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles