Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用
findAndUpdate
mongo中的方法来生成一个序列。只要 mongodb/mongoose 只允许每个表/集合一次执行一个查询,这就可以正常工作。