node-firebird
node-firebird copied to clipboard
Queries and subqueries with promise.
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?