code: function(results) {        
          for(var i = 0; i < results.rows.length; i++) {
              console.log("Result " + (i + 1) + ": ");
              var row = results.rows[i];
              for(var j = 0; j < results.fields.length; j++) {
                  var field = results.fields[j];
                  var value = row[j];
                  
                  console.log("  " + field + " = " + value);
              }
          }
      }
docs: Print the result rows