Persistence

This package contains classes used to create MongoDB persistence components.

Classes

IdentifiableMongoDbPersistence

Abstract persistence component that stores data in MongoDB and implements a number of CRUD operations over data items with unique ids. The data items must implement the IIdentifiable interface.

MongoDbIndex

Index definition for mondodb

MongoDbPersistence

Abstract persistence component that stores data in MongoDB using plain driverthe official driver. This is the most basic persistence component that is only able to store data items of any type. Specific CRUD operations over the data items must be implemented in child classes by accessing self._db or self._collection properties.