Example #1
0
def talks_count(query={}, include_deleted=False):
    """
    Replacement for db.talks.count to account for versioning and so that we don't cache results.
    """
    return count_distinct(db.talks, _counter, query, include_deleted)
Example #2
0
def seminars_count(query={}):
    """
    Replacement for db.seminars.count to account for versioning.
    """
    return count_distinct(db.seminars, _counter, query)
Example #3
0
def seminars_count(query={}, include_deleted=False):
    """
    Replacement for db.seminars.count to account for versioning.
    """
    return count_distinct(db.seminars, _counter, query, include_deleted)