Package-level declarations
Functions
Link copied to clipboard
inline fun <T : Any> DI.MainBuilder.bindKandraRepository(session: CqlSession, schema: TableSchema, scope: CoroutineScope = CoroutineScope(SupervisorJob() + Dispatchers.IO))
Type-safe helper for registering a KandraRepository and KandraSuspendRepository for a specific entity type T in a standalone Kodein DI module (outside Ktor).
Link copied to clipboard
Extends the application's Kodein DI container with a KandraRepository and KandraSuspendRepository binding for every entity registered in SchemaRegistry.