forgive me if my question is a bit cluttered or hard to understand.
Let's say I have these collections:
CounterTbl - string _id - long CurrentCount NotificationTbl - long _id - string message
Is there a way to increment the CounterTbl.CurrentCount based on a particular string and insert a new document in NotifcationTbl using the result from CounterTbl.CurrentCount as its id in a single query?
Thanks in advance!
2.1m questions
2.1m answers
60 comments
57.0k users