Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-21-2022 06:50 AM
I believe the code is correct, but the system does not validate. I am stuck on this. Here is my code:
```
`
What is necessary to do?
Tks
10-21-2022 12:30 PM
The query executed in desktop. Can you send the question link?
10-23-2022 06:56 AM
10-23-2022 07:27 AM
Did you run the query twice before validating it? Here is the result I pulled from when I took the course:
/* First Run - only createdAt and updatedAt will be set */
MERGE (m:Movie {title: 'Rocketman'})
/* perform the ON MATCH setting of the matchedAt property */
ON MATCH SET m.matchedAt = datetime()
/* perform the ON CREATE setting of the createdAt property */
ON CREATE SET m.createdAt = datetime()
/* set the updatedAt property */
SET m.updatedAt = timestamp()
RETURN m.title, m.createdAt, m.matchedAt, m.updatedAt;
/* Second Run - all three properties will be set */
MERGE (m:Movie {title: 'Rocketman'})
/* perform the ON MATCH setting of the matchedAt property */
ON MATCH SET m.matchedAt = datetime()
/* perform the ON CREATE setting of the createdAt property */
ON CREATE SET m.createdAt = datetime()
/* set the updatedAt property */
SET m.updatedAt = timestamp()
RETURN m.title, m.createdAt, m.matchedAt, m.updatedAt
10-24-2022 06:12 AM
Yeah, I run twice. Then I logged out, logged in again and try several times. I know the query is ok, I just wanted to finish 100% of the course.
10-24-2022 07:09 AM
I understand. I finished the course and what I posted was from my course. Maybe try deleting your sandbox. It will be recreated when to start the class the next time.
10-24-2022 07:42 AM
Hi. I tried logout sandbox and login again with my database access and worked. Tks!
10-24-2022 07:17 AM
Hello @darciosavilela ,
Do you see the $neo4j prompt in the sandbox pane on the right?
I am wondering if your Course is using the sandbox instance.
Elaine
10-24-2022 07:49 AM
Hi, problem solved. I disconnected from my sandbox and logged in again.
tks
All the sessions of the conference are now available online