Hacker News new | ask | show | jobs
by sloankev 2918 days ago
Can you use this across collections?
1 comments

Hi - I work at MongoDB - Yes you can.

Documentation is located:

https://docs.mongodb.com/master/core/transactions/#transacti...

For mongo, with existing features or the new transaction feature, is it possible to access the ids that are generated during the update, to use on subsequent updates, as references, without needing to return to the dB client to process or build objects? Could be across collections also