Persistence module

The persistence components come in two kinds. The first kind is a basic persistence that can work with any object types and provides only minimal set of operations. The second kind is called “identifieable” persistence and works with “identifable” data objects, i.e. objects that have unique ID field. The identifiable persistence provides a full set or CRUD operations that covers most common cases.

Description

The persistence components are of two types. The first type is a basic one that can be used with any kinds of objects and offers only a minimal set of operations. The second type is known as “identifiable” persistence and is designed to work specifically with data objects that have a unique ID field. This type provides a complete set of CRUD operations, which covers the most common scenarios for managing data effectively.

Packages

The module contains the following packages:

  • Read - generic data reading interfaces.
  • Write - generic data writing interfaces.
  • Persistence - in-memory and file persistence components, as well as JSON persister class.
  • Util - contains interfaces for data processing components.

Use

Add this to your package’s pubspec.yaml file:

dependencies:
  pip_services4_util: version

Now you can install package from the command line:

pub get