Open dpburton opened 8 years ago
When fetching a row such as row = results.next() it returns an Element, and getting the fields using row[0] etc. This makes ugly code. In other languages I can do something like row["columnName"] to get the data I'm looking for.
row = results.next()
row[0]
row["columnName"]
When fetching a row such as
row = results.next()
it returns an Element, and getting the fields usingrow[0]
etc. This makes ugly code. In other languages I can do something likerow["columnName"]
to get the data I'm looking for.