First time here? Check out the Help page!
1 | initial version |
Here is an example with similar method but with strings.
row_names = sqlFile.execAndReturnVectorOfString(rows_name_query).get
rows = []
row_names.each do |row_name|
rows << row_name
end
rows
is now a standard ruby array and you can use methods like rows.size
. In my use case I then loop through rows
array and perform additional tabular sql queries on each header entry for each row.