def first(self):
        try:
            return next(self)
        except StopIteration:
            return None
Returns the first element from the database result or None.
dataset/ETHPy150Open anandology/broadgauge/broadgauge/models.py/ResultSet.first