Suppress Room warning
This commit is contained in:
@@ -65,6 +65,7 @@ interface RecipeDao {
|
|||||||
suspend fun insertRecipeIngredients(ingredients: List<RecipeIngredientEntity>)
|
suspend fun insertRecipeIngredients(ingredients: List<RecipeIngredientEntity>)
|
||||||
|
|
||||||
@Transaction
|
@Transaction
|
||||||
|
@SuppressWarnings(RoomWarnings.CURSOR_MISMATCH) // The lint is wrong, the columns are actually used
|
||||||
@Query("SELECT * FROM recipe JOIN recipe_summaries ON recipe.remote_id = recipe_summaries.remote_id JOIN recipe_ingredient ON recipe_ingredient.recipe_id = recipe.remote_id JOIN recipe_instruction ON recipe_instruction.recipe_id = recipe.remote_id WHERE recipe.remote_id = :recipeId")
|
@Query("SELECT * FROM recipe JOIN recipe_summaries ON recipe.remote_id = recipe_summaries.remote_id JOIN recipe_ingredient ON recipe_ingredient.recipe_id = recipe.remote_id JOIN recipe_instruction ON recipe_instruction.recipe_id = recipe.remote_id WHERE recipe.remote_id = :recipeId")
|
||||||
suspend fun queryFullRecipeInfo(recipeId: Long): FullRecipeInfo?
|
suspend fun queryFullRecipeInfo(recipeId: Long): FullRecipeInfo?
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user