Multiple Queries
About This Space
This space shows you how to run multiple queries simultaneously by using Promise.all().
Last updated on February 8, 2020
Public Permissions: View Open/Fork Run Comment
Running multiple queries simultaneously
This space shows you how to run multiple SQL statements simultenously by using the API pjs.parallelQueries().
This technique can potentially improve performance vs. running queries sequentially.
The results of the queries are loaded into grids on a Web page.
More Spaces By Alex (@alex)
This is a simple demo of Fibers! Fibers simplifies code by avoiding messy code known as "callback hell", "promises hell", or "async/await hell". Once Fibers is setup, you never have to think about callbacks or promises (they are handled automatically for you).
36594
0
0
This is a simple demo of Fibers! Fibers simplifies code by avoiding messy code known as "callback hell", "promises hell", or "async/await hell". Once Fibers is setup, you never have to think about callbacks or promises (they are handled automatically for you).
35176
0
0
52417
0
3
51775
0
2
Be the first to comment:
Comments