I have a flight database in the form of csv with date and flight number among other columns.
date flight
01-01-2011 12:00 428
02-01-2011 12:00 428
03-01-2011 12:00 428
01-01-2011 12:00 429
02-01-2011 12:00 429
03-01-2011 12:00 429
So, on a particular date and time, multiple flights can be scheduled. I want to import this database in neo4j using cql creating a constraint on combination of date and flight number to be unique. My research says that combination of 2 attributes cant be used to set uniqueness. Is there any way to achieve this?
If I set an index on date, It also creates multiple relationships with other attributes when i just want one relationship.