Question: I need to return the actual text description of the db connection, and any other relevant info about the DB.

Why? I call a service and the expected data comes back perfectly.

Now, when I do the same call inside of a secure tunnel, I get completely different results.

All indications say that the code is working in both cases.

So, I can only imagine that it's hooking up to a different DB...
So...I would like to have the function return the server name and the actual db being queried against - even the path where the DB resides would be awesome!

Answer: 
I hope I've understood correctly:

```
function test() {  
  var db = ScriptDb.getMyDb();
  var result = db.query({id: 434})
  var quals = result.next().qualifications;
  var hasQual = false;
  for (var i = 0; i < quals.length; i++) {
    if (quals[i].name == 'QUAL1' && quals[i].issueDate > 20050101) {
      hasQual = true;
      break;
    }
  }
  Logger.log(hasQual);
}

```
It isn't currently possible to construct a query that looks for a value within an array. You can file a feature request for that on the [issue tracker](http://code.google.com/p/google-apps-script-issues/issues/list).