I want to migrate my iPhone app to a new database version. Since I don\'t have some version saved, I need to check if certain column names exist.
This Stackoverflow
function getDetails(){ var data = []; dBase.executeSql("PRAGMA table_info('table_name') ", [], function(rsp){ if(rsp.rows.length > 0){ for(var i=0; i