Thanks for that example, I appreciate that! How would you apply a query?
In the examples I found, they had set the connection to a variable and used that variable later for queries. Is that just an optional parameter in case of multiple connections perhaps?