title: How to get results from multiple queries at once with pg-promise?
body: <p>Currently I have the following code to get the results of two queries</p>
  
  <pre><code>dbro.many("SELECT geoname_id, country_name FROM paises WHERE locale_code=$1 LIMIT 10",data.lang)
     .then(function(countriesData){
        data.countries=countriesData;
        dbro.many("SELECT * FROM categorias")
         .then(function(categoriesData){
           data.categories=(categoriesData)
           console.log(data);
           res.render('layout', data);
           res.end();
        })
         .catch(function(err){
          console.log("error while fetching categories data");
        })
      })
      .catch(function(err){
        console.log("error while fetching countries data",err);
      });
  </code></pre>
  
  <p>Somehow I think this is not right. What if I need to get the results of many queries before returning the callback? The nesting of several then/catch becomes hideous. The objective is to have all the data ready before rendering a page (in Express)</p>