A kotlin extension for Nitrite database. It aims to streamline the usage of nitrite with kotlin by leveraging its language features like extension function, builders, infix functions etc.
To use this add required dependencies:
Maven
<dependencies>
<dependency>
<groupId>org.dizitart</groupId>
<artifactId>potassium-nitrite</artifactId>
</dependency>
</dependencies>
Gradle
implementation 'org.dizitart:potassium-nitrite'
val db = nitrite("user", "password") {
loadModule(MVStoreModule(fileName))
loadModule(module(KNO2JacksonMapper()))
loadModule(module(NitriteTextIndexer(UniversalTextTokenizer())))
}
More details can be found in the documentation.