📜  获取数组列表json js的列 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:04:31.200000             🧑  作者: Mango

代码示例1
if (results.length > 0){ 
  var columnsIn = results[0]; 
  for(var key in columnsIn){
    console.log(key); // here is your column name you are looking for
  } 
}else{
    console.log("No columns");
}