Hi PythonQL Team,
This is not an issue but more of a doubt. I was trying to figure out how to use the nested query pattern for querying JSON with a variable.
I have tried :
ip_val = "Person"
res2 = [ select (l)
match {
"iri": {
"value": as l
},
"label": {
"value": ip_val
}
} as x in ip_json ]
Here I am trying to substitute variable "ip_val" in query under label tag.
I also tried using "for" and let". Can you please guide me for this?
PS: I thought this would be a faster way to reach out to you. :)
Hi PythonQL Team,
This is not an issue but more of a doubt. I was trying to figure out how to use the nested query pattern for querying JSON with a variable.
I have tried :
ip_val = "Person"
res2 = [ select (l)
match {
"iri": {
"value": as l
},
"label": {
"value": ip_val
}
} as x in ip_json ]
Here I am trying to substitute variable "ip_val" in query under label tag.
I also tried using "for" and let". Can you please guide me for this?
PS: I thought this would be a faster way to reach out to you. :)