galileo_sembast 3.0.0 copy "galileo_sembast: ^3.0.0" to clipboard
galileo_sembast: ^3.0.0 copied to clipboard

package:sembast-powered CRUD services for the Galileo framework.

sembast #

Pub build status

package:sembast-powered CRUD services for the Galileo framework.

Installation #

Add the following to your pubspec.yaml:

dependencies:
  galileo_sembast: ^1.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(new Finder(filter: new Filter(...))));

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

See the tests for more usage examples.

1
likes
30
pub points
0%
popularity

Publisher

verified publishergalileodart.com

package:sembast-powered CRUD services for the Galileo framework.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

galileo_framework, sembast

More

Packages that depend on galileo_sembast