node-firebird icon indicating copy to clipboard operation
node-firebird copied to clipboard

Queries and subqueries with promise.

Open tfiliano opened this issue 8 years ago • 0 comments

Hi there,

I am hard trying to do it, but I can't get success. I implementing something like that:

queryDB( sqlOne ) .then( populateDataOne ) .then( populateDataTwo );

in My populateDataOne, I have a promise returned, as you can see: return queryDB( sqlTwo );

The fact is that the only data from the first query is showing to me. the app freeze or was complete without results from the second query.

Somebody can help me?

tfiliano avatar Dec 26 '16 11:12 tfiliano