cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Cypher query '_'

plee
Node Clone

Hello everyone!

on the Cypher query below, what does adding " '_' " do? as I go over the tutorials I see them often from solutions. Also, is it recommended to use that as we query? Please let me know! thanks in advance.

MERGE (originAirportDay:AirportDay
{airportDayId: origin.code + '_' + flight.date})

1 ACCEPTED SOLUTION

Hello @plee

I think they use _ to build the airportDayId, for example: 155_20200624 is an airportDayId

Moreover, it's recommanded to use _ as you can see here in the documentation for the relationship type but you can still use it in properties values

Regards,
Cobra

View solution in original post

1 REPLY 1

Hello @plee

I think they use _ to build the airportDayId, for example: 155_20200624 is an airportDayId

Moreover, it's recommanded to use _ as you can see here in the documentation for the relationship type but you can still use it in properties values

Regards,
Cobra