Ayla
06/08/2023, 5:17 AMjson_each()
is not valid in .sq
file, will it be supported in the future?Benoit Quenaudon
06/08/2023, 6:10 AMAyla
06/08/2023, 8:19 AMval sqlDelight = "2.0.0-rc01"
val androidMain by getting {
dependencies {
implementation("app.cash.sqldelight:android-driver:$sqlDelight")
}
}
sqldelight {
databases {
create("AppDatabase") {
packageName.set("...")
schemaOutputDirectory.set(file("..."))
verifyMigrations.set(true)
deriveSchemaFromMigrations.set(true)
dialect("app.cash.sqldelight:sqlite-3-38-dialect:$sqlDelight")
module("app.cash.sqldelight:sqlite-json-module:$sqlDelight")
}
}
}
the IDE plugin and gradle plugin version is 2.0.0-rc01, but in the editor it report "No table found with name json_each". Have I missed something?aperfilyev
06/08/2023, 8:56 AMAyla
06/09/2023, 2:04 AM