Hi,

I am trying to execute two queries in a particular order. Is there any particular command or api that allows me to execute my queries in that pattern ?
I wrote Q1 first and then Q2 second so that I can achieve this but the wix queries are async , my Q2 is executing first and Q1 is executing second.

Please let me know how can i achieve this .

Thanks in advance !!!

Hi,

Welcome to the Wix Code forums.

The thread Have db calls perform asynchronously here in forums is just what you need.

Have fun,

Yisrael

Hi Yisrael,

Thank you for the response .The articles are really helpful !!!

cheers,
HsacInc