File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/main/kotlin/dev/hossain/postgresqldelight Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,12 @@ fun main(args: Array<String>) {
13
13
println (" Begin SQLDelight 2.0 with PostgreSQL Sample!" )
14
14
val appConfig: AppConfig = AppConfigLoader ().loadAppConfig()
15
15
val sportsRepository = SportsRepository ()
16
+ // ℹ️ NOTE:
17
+ // =================
18
+ // If your `PlayerQueries` is marked red, that means the generated class is not available.
19
+ // You have to run the following gradle task to generate the class.
20
+ // - generateSqlDelightInterface: Aggregation task which runs every interface generation task for every given source
21
+ // Run `./gradlew generateSqlDelightInterface` from terminal or from IntelliJ IDEA Gradle tool window.
16
22
val playerQueries: PlayerQueries = sportsRepository.getPlayerQueries(appConfig)
17
23
18
24
testDriveDatabase(playerQueries, faker { })
You can’t perform that action at this time.
0 commit comments