modules/jooby-requery/src/main/java/org/jooby/requery/Requery.java
public static Requery kotlin(final String name, final EntityModel model) {
    return new Requery(name, KotlinEntityDataStore.class, model,
        conf -> new KotlinEntityDataStore<>(conf));
  }
public static Requery kotlin(final String name, final EntityModel model) {
    return new Requery(name, KotlinEntityDataStore.class, model,
        conf -> new KotlinEntityDataStore<>(conf));
  }
Creates a Kotlin Requery module.

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

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

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