Skip to content

Commit 92b0ebb

Browse files
committed
docs: update docs at readme
Signed-off-by: Otavio Santana <[email protected]>
1 parent f578a85 commit 92b0ebb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,6 +1307,18 @@ products.increment();
13071307
products.increment(3L);
13081308
----
13091309

1310+
Using the same principle of the API you can inject using the `@KeyValueDatabase` qualifier.
1311+
1312+
[source,java]
1313+
----
1314+
@Inject
1315+
@KeyValueDatabase("counter")
1316+
Counter counter;
1317+
1318+
@Inject
1319+
@KeyValueDatabase("game")
1320+
SortedSet game;
1321+
----
13101322
== Riak
13111323

13121324
image::https://jnosql.github.io/img/logos/riak.png[Riak Project,align="center" width=25%,height=25%]

0 commit comments

Comments
 (0)