I want to retrieve data from the API and then send it to the database.
However, I do not want to send it in the raw form, but rather in a manipulated form. E.g. in the picture below, we have the following pairs database = API (e.g. fixtureID = fixtureID):
yeah, makes sense. but what if I have several such conditions? e.g. beside the one I mentioned we also have:
goals_scored = 0 (if goals_scored <= 1) or 1 (if goals_scored > 1)
own_goals = 0 (if own_goals <= 1) or 1 (if own_goals > 1)
do I have to create a separate action for each combination of these events (in this case 2x2x2 = 8)?
I am still unsure whether I understand this part. if “goals_conceded = goals_conceded”, does it evaluate to yes thus 1? why do we then have the condition “>” if it will never evaluate to sth higher than 1?