Title: Edit JSON Objects in SQL · stackql/stackql · Discussion #401 · GitHub
Open Graph Title: Edit JSON Objects in SQL · stackql/stackql · Discussion #401
X Title: Edit JSON Objects in SQL · stackql/stackql · Discussion #401
Description: Edit JSON Objects in SQL
Open Graph Description: @jeffreyaven My use case is I have to edit (delete and replace values) JSON object (usually 'properties' Object from Azure Provider). Originally I was planning to do this in stackql SQL but I canno...
X Description: @jeffreyaven My use case is I have to edit (delete and replace values) JSON object (usually 'properties' Object from Azure Provider). Originally I was planning to do this in stackql SQL but...
Opengraph URL: https://github.com/stackql/stackql/discussions/401
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"Edit JSON Objects in SQL","text":"\u003cp dir=\"auto\"\u003e\u003ca class=\"user-mention notranslate\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/jeffreyaven/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"https://github.com/jeffreyaven\"\u003e@jeffreyaven\u003c/a\u003e My use case is I have to edit (delete and replace values) JSON object (usually 'properties' Object from Azure Provider). Originally I was planning to do this in stackql SQL but I cannot find the related JSON functions ( json_replace() and jsonb_remove()) in stackql. Currently I am planning to use Sqlite JSON functions. I assume I can also use some Python functions. But is this the suggested approach or am I missing something?\u003c/p\u003e","upvoteCount":1,"answerCount":3,"acceptedAnswer":{"@type":"Answer","text":"\u003cp dir=\"auto\"\u003ehey \u003ca class=\"user-mention notranslate\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/vwake7/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"https://github.com/vwake7\"\u003e@vwake7\u003c/a\u003e we do support \u003ccode class=\"notranslate\"\u003ejson_remove\u003c/code\u003e and \u003ccode class=\"notranslate\"\u003ejson_replace\u003c/code\u003e, they just aren't documented, give them a try\u003c/p\u003e","upvoteCount":1,"url":"https://github.com/stackql/stackql/discussions/401#discussioncomment-9208295"}}}
| route-pattern | /_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:de2e46f1-e6dc-51b8-4406-671cfca172a6 |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | CB78:DCE25:D4446A:1337B45:6A4CC68A |
| html-safe-nonce | 18acec2e8a7296a136f9f3c7a2b465c714b689f2bd6b67f2043efbe1faf419c3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjc4OkRDRTI1OkQ0NDQ2QToxMzM3QjQ1OjZBNENDNjhBIiwidmlzaXRvcl9pZCI6IjY2MjQwMjA3MDU0MDE2ODU2NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 215185179c64803e16f82a6432d82dfcf131249e4daee0fa719a53cbc4b7bfdf |
| hovercard-subject-tag | discussion:6551882 |
| github-keyboard-shortcuts | repository,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/Voltron::DiscussionsFragmentsController/show/stackql/stackql/401/discussion_layout |
| twitter:image | https://opengraph.githubassets.com/4912b5944685749fe714cbdf02bd604576b282795841a2f155f89b295714424f/stackql/stackql/discussions/401 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4912b5944685749fe714cbdf02bd604576b282795841a2f155f89b295714424f/stackql/stackql/discussions/401 |
| og:image:alt | @jeffreyaven My use case is I have to edit (delete and replace values) JSON object (usually 'properties' Object from Azure Provider). Originally I was planning to do this in stackql SQL but I canno... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/stackql/stackql git https://github.com/stackql/stackql.git |
| octolytics-dimension-user_id | 95105302 |
| octolytics-dimension-user_login | stackql |
| octolytics-dimension-repository_id | 443987542 |
| octolytics-dimension-repository_nwo | stackql/stackql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 443987542 |
| octolytics-dimension-repository_network_root_nwo | stackql/stackql |
| 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 | d0da0eb92994395299ed4450bf67b0373005be36 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width