'Return the result of a single-value query (e.g. an EXISTS).'

def value(self):

    if (not self.next()):
        raise SqlException('No    result    for    single-result    query')
    return self.record().value(0)
