title: How to read a sqlite3 database, using node js, synchronously?
body: <pre><code>exports.allProbes = function() {
      var rows = db.all("SELECT * FROM probes;");
      return rows;
  };
  </code></pre>
  
  <hr>
  
  <pre><code>main:
  var json_values = allProbes();
  </code></pre>
  
  <p>Is it possible to do something like that? 
  I mean, without using a callback function: just, read data (sync mode) from the db. and return a json formatted output?</p>
  
  <p>Thanks.</p>