You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Neo4j
I am trying to sort a query that matchs first and last name buy first
name and last name. first name can be capitalize or could be all lower
case. I wanted to covert first name + last name to lower case before
it sort.
Example: Currently I query looks like this:
"start n=node(%d) match n-[:MEMBERSHIP]->m<-[:MEMBERSHIP]->u where
(u.firstName =~/(?i)%s.*/ or u.lastName =~/(?i)%s.*/) %s return u
order by u.firstName, u.lastName limit %d"
I want to able to do something like this:
"start n=node(%d) match n-[:MEMBERSHIP]->m<-[:MEMBERSHIP]->u where
(u.firstName =~/(?i)%s.*/ or u.lastName =~/(?i)%s.*/) %s return u
order by u.firstName.lowercase, u.lastName.lowercase limit %d"
Michael Hunger
unread,
May 4, 2012, 6:39:00 PM5/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ne...@googlegroups.com
I think it would make sense to add functions like lowercase and uppercase to cypher which you then could use for this. Right now it is not possible.