Data store component and add unique item

I want to add items individually with datastore component, however. The datastore compares it as “OR” when it is done upert and adds or updates accordingly.

This is exactly what I want to do;

Country State
Germany Hamburg
Turkey Istanbul
Turkey Adana

I want to add 2 different countries and 3 different states as above. However, it is not possible to reach the above result with the existing datastore component.

(not sure), because when the datastore component is updated, it searches for “Country or State” with the OR statement. How can I do this using the “AND” statement. In short, I want every new line added to be unique

Community Page
Last updated: