I started to model my database using SQL but I had a problem. I need a field to be an Array of foreign keys but as I searched this is impossible with SQL. Is it possible to do something similar in Neo4j?
CREATE TABLE places (
id SERIAL PRIMARY KEY,
title text NOT NULL,
country integer NOT NULL REFERENCES countries(id),
state integer NOT NULL REFERENCES states(id),
city integer NOT NULL REFERENCES cities(id),
address text,
zipcode text NOT NULL,
services integer REFERENCES services(id)
);
CREATE TABLE services (
id SERIAL PRIMARY KEY,
title text NOT NULL
}