def query_one(self, *args, **kwargs):
        """Return first document from :meth:`query`, with same parameters.
        """
        for r in self.query(*args, **kwargs):
            return r
        return None
Return first document from :meth:`query`, with same parameters.