'It takes the where statement and returns the first row as a dict
The various items present in the dict can then be used
Usage:
${output}=  Query and return the first row as dict where  s3db.pr_address.id == 13
Log to console  ${output}
\'{deleted_rb\': None, \'mci\': 2L, \'realm_entity\': 44L, \'location_id\': ... }
<Shortened for brevity>'

@staticmethod
def query_and_return_the_first_row_where(statement):

    db = current.db
    s3db = current.s3db
    cmd = ('db(%s).select(                                                limitby=(0,1)    ).first()' % statement)
    logger.info(('Executing    query    %s' % cmd))
    output = eval(cmd)
    return output
