angel3_sembast 8.1.1 copy "angel3_sembast: ^8.1.1" to clipboard
angel3_sembast: ^8.1.1 copied to clipboard

A plugin service that persist data to Sembast for Angel3 framework.

Sembast Persistent Service for Angel3 #

Pub Version (including pre-releases) Null Safety Gitter License

A plugin service that persist data to Sembast for Angel3 framework.

Installation #

Add the following to your pubspec.yaml:

dependencies:
  angel3_sembast: ^8.0.0

Usage #

This library exposes one main class: SembastService.

SembastService #

This class interacts with a Database and Store (from package:sembast) and serializes data to and from Maps.

Querying #

You can query these services as follows:

/path/to/service?foo=bar

The above will query the database to find records where 'foo' equals 'bar'.

The former will sort result in ascending order of creation, and so will the latter.

List queried = await MyService.index({r"query": where.id(Finder(filter: Filter(...))));

Of course, you can use package:sembast queries. Just pass it as query within params.

See the tests for more usage examples.

0
likes
140
pub points
0%
popularity

Publisher

verified publisherdukefirehawk.com

A plugin service that persist data to Sembast for Angel3 framework.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

angel3_framework, sembast

More

Packages that depend on angel3_sembast