title: How to get rows with a bit typed fields from mysql in node.js?
body: <p>I am using a mysql npm package for connection and trying to get data from table, which has columns with type BIT.
  But these columns have gone as:</p>
  
  <pre><code>"isBasic": {
        "type": "Buffer",
        "data": [
          1
        ]
      },
  </code></pre>
  
  <p>How can I map them to boolean type?</p>