Priority: Minor - P4
Resolution: Works as Designed
Affects Version/s: None
Fix Version/s: None
When using mongodb for node, the developer is in effect compelled to use callback functions, often resulting in many nested callback functions, making code ugly, and inconvenient.
I believe it would be really useful if the node native driver supported operating synchronously, meaning that the results from a query could be saved to a variable, and then used appropriately, rather than warranting a callback function.
is easier to use than
Crucially, any synchronous action could still act akin to an asynchronous one, but without needing another callback function.
I would love to hear thoughts and ideas on this.