1. Randall Leeds
  2. couchdbkit

Commits

benoitc  committed d8acae3

fix issue #11, thanks!

  • Participants
  • Parent commits 383b53d
  • Branches default
  • Tags 0.1.7.1

Comments (0)

Files changed (1)

File couchdbkit/client.py

View file
  • Ignore whitespace
     @property
     def total_rows(self):
         """ return number of total rows in the view """
+        self._fetch_if_needed()
+        # reduce case, count number of lines
         if self._total_rows is None:
             return self.count()
         return self._total_rows