Return SQL result as single record

I often have SQL queries that I know will only return a single item, and it's much easier to read the results if it I can access it like "" instead of "['0']". So I usually add "return formatDataAsArray(data)['0']" to the query transformer. Not hard, but I do it often so it'd be nice if there was a checkbox that you could check that told the system it was only going to get one record back and to do that part automatically.