Readme
This commit is contained in:
parent
69dc9659fc
commit
d25e31d64a
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,8 @@ Redis-enabled services for the Angel framework.
|
||||||
and thereby cache the results of calling an upstream database.
|
and thereby cache the results of calling an upstream database.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
`package:angel_redis` requires Angel 2.
|
||||||
|
|
||||||
In your `pubspec.yaml`:
|
In your `pubspec.yaml`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -36,6 +38,7 @@ when caching another database, you'll preserve the ID or primary key of an item.
|
||||||
`id` is present, then an ID will be created via an `INCR` call.
|
`id` is present, then an ID will be created via an `INCR` call.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
Also present at `example/main.dart`:
|
||||||
|
|
||||||
```dart
|
```dart
|
||||||
import 'package:angel_redis/angel_redis.dart';
|
import 'package:angel_redis/angel_redis.dart';
|
||||||
|
|
Loading…
Reference in a new issue