You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use requery in a Kotlin back-end application. I'm currently struggling to setup my Gradle so I can use KotlinConfiguration and KotlinEntityDataStore.
This is what my build.gradle dependencies looks like:
Here's what my main application Kotlin file looks like:
// Where is the kotlin requery packages located???
import io.requery.requery-kotlin?
fun main(args : Array<String>) {
// Both KotlinConfiguration and KotlinEntityDataStore are unknown. I need to know which package to import
val configuration = KotlinConfiguration(dataSource = dataSource, model = Models.DEFAULT)
val data = KotlinEntityDataStore(configuration)
}
Also where does dataSource and Models.DEFAULT come from?
The documentation is very unclear in its examples. It'd be great if the examples showed a full Kotlin gradle file and an example application Kotlin file.
Any help anyone can give me would be greatly appreciated! :)
The text was updated successfully, but these errors were encountered:
I'm trying to use requery in a Kotlin back-end application. I'm currently struggling to setup my Gradle so I can use
KotlinConfiguration
andKotlinEntityDataStore
.This is what my
build.gradle
dependencies looks like:Here's what my main application Kotlin file looks like:
Also where does
dataSource
andModels.DEFAULT
come from?The documentation is very unclear in its examples. It'd be great if the examples showed a full Kotlin gradle file and an example application Kotlin file.
Any help anyone can give me would be greatly appreciated! :)
The text was updated successfully, but these errors were encountered: