嗨,我在 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 值更改或等于零,我想被暗示??
请让我知道这是否可能?