I know you can use the query module and the query tag in the template, but I don’t want to do that. Is there any global variable that I can use to access the current database connection to make a query? I need to unserialize some data and I can’t do it the way the documentation suggest.