我的Mongo DB中有一个名为“secs”的集合
秒内的记录如下所示:
{ "_id" : ObjectId("50c9dbc9f0e2a3f7445a0550"), "active_flag" : "1", "pcls" : "150.2500", "pe" : "na" }
{ "_id" : ObjectId("50c9dbc9f0e2a3f7445a0551"), "active_flag" : "1", "pcls" : "150.2500", "pe" : "na" }
{ "_id" : ObjectId("50c9dbc9f0e2a3f7445a0552"), "active_flag" : "1", "pcls" : "150.2500", "pe" : "na" }
//删除大部分字段看起来很简单。
Is there any way we can write trigger in Mongo DB ??
我的要求是,如果pcls值改变或等于零,我想被暗示?
请告诉我这是否可能?