vertx-kuickstart-core / dev.fuelyour.vertxkuickstartcore.repositories / FindQuery / impl

impl

fun <reified T : Any> impl(schema: String, table: String): FindQuery<T>

Provides the default implementation for FindQuery. Can be used as follows. Note that constant values should be passed for schema and table, as doing otherwise would risk sql injection.

Example:

class ExampleRepo: FindQuery<Example> by FindQuery.impl(schema="public", table="example")