modules/jooby-requery/src/main/java/org/jooby/requery/Requery.java
public static Requery reactive(final String name, final EntityModel model) {
    return new Requery(name, ReactiveEntityStore.class, model,
        conf -> ReactiveSupport.toReactiveStore(new EntityDataStore<>(conf)));
  }
public static Requery reactive(final String name, final EntityModel model) {
    return new Requery(name, ReactiveEntityStore.class, model,
        conf -> ReactiveSupport.toReactiveStore(new EntityDataStore<>(conf)));
  }
Creates a Requery module with RxJava data store.

<pre>{@code
{
use(Requery.reactive(Models.DEFAULT));

get("/", () -> {
ReactiveEntityStore store = require(ReactiveEntityStore.class);
// work with reactive store
});
}
}</pre>

@param name Database name.
@param model Entity model.
@return A new {@link Requery} module.