To sum up, this method is similar to importing from a JSON data source apart from a few differences. This effort toward consistency is the mark of top-level professionals and is to be saluted.
So, now that we have a MySQL database named learning running on the same server, using default ports, we want to import the operating systems into nodes with the Os label and a FROM relation that goes to a node labeled OsFamily. The ID column will not be reused. This means that we have a pair of constraints to create, as follows:
CREATE CONSTRAINT ON (o:Os) ASSERT o.name IS UNIQUECREATE CONSTRAINT ON (of:OsFamily) ASSERT of.name IS UNIQUE
Creating these constraints is not mandatory unless you run the import that follows several ...