Hello, I'm working on a database that has two types of nodes : jobs and skills . They have a 'USES' relationship.
I am able of getting all skills used in a certain job. However I would like to have the skill.name of all skills in a list in the response json using this:
MATCH (n:Technologies)<-[u:USES]-(j:Jobs) where j.name="skilname" return n.name order by n.trend ASC limit 25
Basically, this is what I'm getting:
[
{
"keys": [
"n.name"
],
"length": 1,
"_fields": [
"TKProf"
],
"_fieldLookup": {
"n.name": 0
}
},
{
"keys": [
"n.name"
],
"length": 1,
"_fields": [
"SmarTeam"
],
"_fieldLookup": {
"n.name": 0
}
But I would like to get this:
[ {keys:["n. name"],
values: [skill1.name,skill2.name,skill3.name.....]
}
]
Any tip is well appreciated, thank you.