Assuming my query using an iterator looks like this. Is there any way to 
print the exact cql query that is finally executed on Cassandra side when 
iter.Scan() is called?

My iter query is returning empty results, but when I manually search using 
the cql query in my database table in Cassandra, I am getting records 
returned. I have a feeling the query I am creating is somehow incorrect. I 
would like to debug


        // list all tweets
        iter := session.Query(`SELECT id, text FROM tweet WHERE timeline = ?`, 
        for iter.Scan(&id, &text) {
                fmt.Println("Tweet:", id, text)
        if err := iter.Close(); err != nil {

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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to