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: patch-diff.githubusercontent.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:1eff3ee4-72e3-ff11-8d40-ca249ae29bba |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DBA2:335B1E:A194F:DE11B:6981D0B6 |
| html-safe-nonce | 5ef2f82ef14954bdf87975344ab00686ed5f2f2057a8635699f8520668939bd9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkEyOjMzNUIxRTpBMTk0RjpERTExQjo2OTgxRDBCNiIsInZpc2l0b3JfaWQiOiI0NTU5NzQyMjE3NTY4MjQzODk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c3cf0df9b481cab005bbd70acb710866b6ad003b75b91dd43cb50fecf3a6b749 |
| 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 | ebfdf8d3e0fd17b103f41cc6696d84938694ebebdfecaf11fe00dbe4a9785801 |
| 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 | ac96edcf00b294dfaa8f1b86d06a198589e60041 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width