Code: Select all
services.database.executeSelectStatement("DB","SELECT * FROM Users",
function (columnData) {
});
Is there anything like this for columnData when you don't know the column names ahead of time and want to do columnData.getColumn("SomeColumnName"); ?
Obviously, I tried columnData.getColumn("columnName") but there doesn't appear to be a method like this
columnData is of the type java.util.Map but I haven't figured out how to get the column names from it. I'm looking at https://docs.oracle.com/javase/8/docs/a ... l/Map.html and it seems that some of the Map methods from Map aren't available in Verj
I know that I can get the column names using this
Code: Select all
for (var colName in columnData) {
alert("column name is " + colName);
}