I am trying to print the results of my query to the console, with the below code, but it keeps returning me the object location instead.
test = connection.e
test
is an object containing the rows values. So if the column's name is value
, you can call it using test.value
.
If you're looking for more "convenient" way of doing so (like iterating through each column of test
), you'd have to explicitly define these functions (either as methods of test
or as other functions designed to iterate through those types of rows).