Monday, 1 May 2017

DynamoDB API Node, is it possible to get results synchroniously?

I know the normal way to do things is

db.query(params, callback);

But how and can I do something like

var data = db.query(params);

If the rest of my lambda can't execute before I get the results, can it just wait for it without having all the callbacks?



via LLL

No comments:

Post a Comment