Lets create some data to my neo4j database.
Add a list of 6 Products for a smart glasses company with the properties:
- id (integer starting from 1)
- name (a simple name of the product)
- msrp_usd (sale price of the product in USD)
Create a list of 12 Customers with the following properties:
- id (integer starting from 1)
- name (string first and last name)
Add a list of 24 'Orders' with the following properties:
- id (integer starting from 1)
- date_ordered (ISO 8601 datetime - 0 UTC)
- date_fulfilled (ISO 8601 datetime - 0 UTC)
Each Order should connect with 1 existing Customer Node (randomly select an id between 1-12 using normal distribution) as a :ORDERED_BY relationship type.
Each Order should also connect between 1 and 3 existing products (randomly select an id between 1-6 using normal distribution) as a :CONTAINS relationship type. Include a "count" property with a value between 1-10