Good day Mongo people!!
Yup, I’m still super new to this and while I’m in and out between different non-Mongo work I have a question I’m sure you’ve had at some point. (not in the search here).
Because of the brilliance of the product I’m curious if it ever came up or was even ever a possibility to return an object or data back from an async Web API call?
Essentially I’m curious if there is ANY way to create a new document and get back the new ID without having to query again with a filter on it’s other attributes?
In a perfect world the Response would have a document with it. Probably impossible but for you smart people what’s the best strategy otherwise? Multiple query’s?
Thanks in advance!!
P.S. Likely the wrong category…sorry :-/