I have two entities with a one to many relationship:
Recipe:
- recipeID: Int
- recipeName: String
Ingredient:
- ingredientID
- ingredientName
In my app there is a table view that displays all ingredients for the recipe. How it is possible to insert new ingredients?
I would like to insert it in that way: "insert ingredientName where recipe.recipeID = 1". Is that possible? Until now I could only insert a completely new Recipe.
Please help me, thanks in advance.