i want to iterate through the results fetched by executing the query .
i have the following code snippet :-
iter := session.Query("select * from test_table where ID= ? ", g).Iter()
now i want to iterate through the iterator such that if the table structure
of test_table is like
column_1 || column_2 || column_3 || column_4 ||
a || b || c || d ||
i want to store the results in map such that key s the column name and
value is the c=column vale
please help by including the import statements as well
--
*Watch our latest TV Commercial #IndiaKiKhoj
<https://youtu.be/SoBcg2z0pZE%20%20>*
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.