~free.ekanayaka/storm/any-expr

« back to all changes in this revision

Viewing changes to storm/zope/interfaces.py

  • Committer: Thomas Hervé
  • Date: 2008-11-27 09:37:56 UTC
  • Revision ID: thomas@canonical.com-20081127093756-sojuxkbz0o4bosrj
Add is_empty to IResultSet interface [f=299437] [r=jamesh]

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
    def cached():
119
119
        """Return matching objects from the cache for the current query."""
120
120
 
 
121
    def is_empty():
 
122
        """Return true if the result set contains no results."""
 
123
 
121
124
 
122
125
class ISQLObjectResultSet(Interface):
123
126