docs: def _all(self, query):
          """Gets all rows of the query. Raises a NotFoundError if there are 0 rows"""
          if query.count() > 0:
              results = query.all()
              for result in results:
                  if result.has_expired(self._expirations):
                      raise NotFoundError
              return results
          else:
              raise NotFoundError