title: How to get the query result metadata in sqlite3?
body: <p>Mysql supplies API mysql_fetch_fields to get the query result metadata.</p>
  <pre><code>MYSQL_RES *result;
  ...
  auto fieldsNum = mysql_num_fields(result);
  auto fields = mysql_fetch_fields(result);
  
  for (size_t i = 0; i &lt; fieldsNum; i++) {
      printf(&quot;column [%d] name: %.*s\n&quot;, i + 1, (int)fields[i].name_length, fields[i].name);
  }
  </code></pre>
  <p>Is there any same function in sqlite3?</p>