Hello I am very new to Cassandra and have begun to learn it a couple days ago. I have a question when it comes to if not exist function. Does if not exist work on only 1 column ? . My concern is that if I have a column family that contains 3 properties such as
ID(UUID: Primary Key) , Email(Text) and Name(Text) . and have this saved in database
1, "MyEmail@gmail.com" , "John"
If someone else tries to register and puts "DifferentEmail@gmail.com" and "John" as the name will this pass and be accepted ? There will obviously be people with the same name and different emails and I would not want that Insertion to be rejected. I essentially just want to reject the Insertion if the email already exist in the database and nothing else .