mongodb有个地方看不懂
{代码...} 返回的是什么?__________________________________________后来补充______________________________________________ 逻辑是在counters中查处某个的表名例如(aaa_aaa)的seq然后将这个表(aaa_aaa)的seq...
淡淡烟草味 2017-04-27 09:02:26 0 2 367
node.js - 这条mongo语句,在nodejs中如何执行?
{代码...} 这个语句的意思是: 1.在counters表中,对_id='my_table'的记录,让该记录的seq自增1,然后返回这条记录。 2.取出第一步中返回的记录的seq字段,作为my_table的新纪录的_id,插入到my_table。 在命令行...
PHP中文网 2017-04-17 11:18:15 0 1 217