title: How to get the value in result.rows[0] as a string?
body: <p>I am querying a Cassandra database using Node.js, and receiving <code>result</code>. I can access each element of the result with <code>result.rows[0]</code> etc. </p>
  
  <p>However, I am currently trying to do data processing of the result in Javascript. I tried to convert <code>result.rows[0]</code> to String with <code>result.rows[0].data.toString()</code> but this returned error <code>Cannot read property toString of undefined</code>. </p>
  
  <p>I know that I do indeed have data in my <code>result.rows[0]</code>. What is the problem in this situation, and how would I go about acquiring the String contained in <code>result.rows[0]</code>? I have also tried getting <code>toString()</code> of <code>result</code> yet that is returning <code>[object Object]</code>. </p>