Identify the issue:db.createCollection('users', {validation: {age: {$type: 'int'}}}) - Study24x7
Social learning Network
5 followers study24x7 16 Dec 2024 11:32 AM study24x7 study24x7

Identify the issue:
See more

A

Incorrect syntax for schema validation

B

The 'age' field type should be 'number'

C

The 'users' collection already exists

D

No issue

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