Node.js - GetMulti Call throws error for entire batch instead of throwing error for missing document


When calling getMulti, If a document in the given list does not exist. But then the complete batch shall fail although only one document is missing. It should either return Null or undefined for missing document and return atleast data for others.

Is this not the desired result or is there some overload which i am missing

Hey @Drake,

The getMulti method should return the results to you as well as the error that occurred. You can check the second callback parameter being set to determine if any results were returned in spite of an error value being set.

Cheers, Brett