Title: how to use variables in nested queries? · Issue #17 · pythonql/pythonql · GitHub
Open Graph Title: how to use variables in nested queries? · Issue #17 · pythonql/pythonql
X Title: how to use variables in nested queries? · Issue #17 · pythonql/pythonql
Description: 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": ...
Open Graph Description: 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 =...
X Description: 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&qu...
Opengraph URL: https://github.com/pythonql/pythonql/issues/17
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"how to use variables in nested queries?","articleBody":"Hi PythonQL Team,\r\n\r\nThis 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.\r\nI have tried :\r\n\r\nip_val = \"Person\"\r\nres2 = [ select (l)\r\n match {\r\n \"iri\": {\r\n \"value\": as l\r\n },\r\n \"label\": {\r\n \"value\": ip_val\r\n }\r\n } as x in ip_json ]\r\n\r\nHere I am trying to substitute variable \"ip_val\" in query under label tag.\r\nI also tried using \"for\" and let\". Can you please guide me for this?\r\n\r\n\r\nPS: I thought this would be a faster way to reach out to you. :)","author":{"url":"https://github.com/nikhilg1312","@type":"Person","name":"nikhilg1312"},"datePublished":"2020-02-01T14:56:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/17/pythonql/issues/17"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1003ce8e-afc1-dc1b-5be4-40f729715484 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DAA6:12C2E9:1B8C6F2:26999D5:698228CF |
| html-safe-nonce | eb9b7d7c6594e2b368861df5f824dffa1b165ee7a2311a77241cbf24757768ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUE2OjEyQzJFOToxQjhDNkYyOjI2OTk5RDU6Njk4MjI4Q0YiLCJ2aXNpdG9yX2lkIjoiMzIxMTMxNTg1NDY0MTg2Njk1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4d732f21cea84398d2d9c3c3df7c5624e676139994632484d6b7b8b887c59c9f |
| hovercard-subject-tag | issue:558551530 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythonql/pythonql/17/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e5eb4f3d1ea830f63f0ac67a28a0d9f54c220479fe827de74a53f42c2f1323d1/pythonql/pythonql/issues/17 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e5eb4f3d1ea830f63f0ac67a28a0d9f54c220479fe827de74a53f42c2f1323d1/pythonql/pythonql/issues/17 |
| og:image:alt | 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 =... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nikhilg1312 |
| hostname | github.com |
| expected-hostname | github.com |
| None | f29b4256dc96a8de29f6e5fad4bf98fdbfc5cb1dbb313013053581f8470d8a21 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonql/pythonql git https://github.com/pythonql/pythonql.git |
| octolytics-dimension-user_id | 22842849 |
| octolytics-dimension-user_login | pythonql |
| octolytics-dimension-repository_id | 58056458 |
| octolytics-dimension-repository_nwo | pythonql/pythonql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 58056458 |
| octolytics-dimension-repository_network_root_nwo | pythonql/pythonql |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 61292800a4f1180f0b13782adc5da7267ec99b94 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width