Emil Kantis
10/14/2024, 6:20 PMEmil Kantis
10/14/2024, 6:21 PM.sq
file. But now I'd like to have v1__schema.sqm
, v1.2__add_some_columns_and_tables.sqm
, along with queries in HockeyPlayer.sq
(to get Database.hockeyPlayerQueries
generated).
Are there any conventions in this area?hfhbd
10/14/2024, 7:43 PMhfhbd
10/14/2024, 7:44 PMEmil Kantis
10/14/2024, 8:17 PMv
-prefix is supported? 🙂
Sure, lemme see if I can repro it in a small sample.. Is there any "magic" happening when using the SQLDelight IJ Plugin that triggers codegen when saving .sq(m)
files? Where would the errors normally be reported?hfhbd
10/14/2024, 8:34 PMhfhbd
10/14/2024, 8:37 PMEmil Kantis
10/15/2024, 5:54 AMEmil Kantis
10/15/2024, 5:54 AMEmil Kantis
10/15/2024, 5:57 AM./gradlew tasks
was broken due to another plugin having issues). Maybe adding to docs somewhere, similar to the SQLite (Android) docs would be helpful to new users?
The Database class is generated by the generateSqlDelightInterface Gradle task which is run automatically by the SQLDelight IDE plugin when you edit a .sq file, and also as part of a normal Gradle build.
Nikky
10/18/2024, 5:07 PM