[SERVER-13949] Input/Update trigger to validate data Created: 14/May/14  Updated: 10/Sep/14  Resolved: 10/Sep/14

Status: Closed
Project: Core Server
Component/s: Write Ops
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Kris Budde Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-3536 templates for schemas Closed
Backwards Compatibility: Major Change
Participants:

 Description   

It would be very nice to have a basic validation framework for insert and update operations.

E.g.

  • field exists
  • check type (string, number, date,..)

I know it can be handled before calling insert/update.

But if more than one application is accessing the mongodb it is likely that the data quality is decreasing.

Basic operation would be enough.



 Comments   
Comment by Ramon Fernandez Marina [ 10/Sep/14 ]

keb, I think SERVER-3536 includes the features you propose, so I'm closing this ticket as a duplicate.

Regards,
Ramón.

Generated at Thu Feb 08 03:33:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.