title: Running sqlite3 query in node.js returns `undefined` rows with no error
body: <p>Using <code>Node.js 4.2.1</code> with <code>sqlite3 3.1.1</code> The following code -</p>
  
  <pre><code>var sqlitedb = new sqlite3.Database(sqliteFilename);
  sqlitedb.serialize(function() {
  
     sqlitedb.run("SELECT ZDATA FROM ZMYTABLE;", function(err, rows) {
        console.log(rows);
     });
  
  });
  sqlitedb.close();
  </code></pre>
  
  <p>Prints <code>undefined</code> in the console, but if the same query is executed using the <code>sqlite3</code> tool, it works fine -</p>
  
  <pre><code>$ sqlite3 backup.sqlite 
  SQLite version 3.8.10.2 2015-05-20 18:17:19
  Enter ".help" for usage hints.
  sqlite&gt; SELECT ZDATA FROM ZMYTABLE;
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  ...
  </code></pre>
  
  <p>Any idea why SQL returns <code>undefined</code> rows in Node.js?</p>