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.

clem
Graph Steward

Suppose I foolish set the date of a Movie to a string instead of a number:

MATCH(m:Movie) WHERE m.title = "The Matrix Revolutions" SET m.released = "2003" RETURN m

If I view the result in the Browser and look at the bottom properties mini-window, I can't tell that field 2003 is a string or a number. (If you display the result in a Table, you can see the double quotes around the number.)

A less suspecting user might go crazy wondering why the query below (matching an integer) didn't seem to work.

MATCH(m:Movie) WHERE m.released = 2003 RETURN m

I recommend making it an option to put quotes around strings. (It also can help in case a string has invisible trailing spaces too.)