class BigCounterDoc(Document): config_database = database_name() config_collection = 'big_doc' auto = 'a', auto_increment(database_name(), SIDECAR, 'BigCounterDoc', increment=10)
class MyDoc(Document): config_database = database_name() config_collection = 'test' auto = 'a', auto_increment(database_name(), SIDECAR, 'MyDoc')
class MyFloatCounterDoc(Document): config_database = database_name() config_collection = 'float_test' auto = 'a', auto_increment(database_name(), SIDECAR, 'FloatDoc')
class MyDoc2(Document): config_database = database_name() config_collection = 'test' auto = 'a', auto_increment(database_name() + '_is_different', SIDECAR, 'MyDoc2')