Mercurial > hg > ng2-query-ismi
changeset 19:d75224bb8147
remove quotes for inverse relations.
author | casties |
---|---|
date | Thu, 21 Jan 2016 20:22:02 +0100 |
parents | 65bb467abcc6 |
children | 34cd764e234b |
files | app/query.service.ts |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/app/query.service.ts Thu Jan 21 20:07:32 2016 +0100 +++ b/app/query.service.ts Thu Jan 21 20:22:02 2016 +0100 @@ -117,7 +117,7 @@ rel = rel.substr(this.invRelPrefix.length); queryMatch += `<-[:${rel}]-(n${nIdx})`; } else { - queryMatch += `-[:\`${rel}\`]->(n${nIdx})`; + queryMatch += `-[:${rel}]->(n${nIdx})`; } queryReturn = `RETURN n${nIdx}`; returnType = 'node';