This function has no documentation.  An example of the query would be nice, but at the minimum an explanation of what it's querying for.