{"action":"closed","issue":{"url":"https://api.github.com/repos/cockroachdb/docs/issues/2892","repository_url":"https://api.github.com/repos/cockroachdb/docs","labels_url":"https://api.github.com/repos/cockroachdb/docs/issues/2892/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/docs/issues/2892/comments","events_url":"https://api.github.com/repos/cockroachdb/docs/issues/2892/events","html_url":"https://github.com/cockroachdb/docs/issues/2892","id":312715982,"number":2892,"title":"JSONB Doc Update typo ","user":{"login":"robert-s-lee","id":6315124,"avatar_url":"https://avatars3.githubusercontent.com/u/6315124?v=4","gravatar_id":"","url":"https://api.github.com/users/robert-s-lee","html_url":"https://github.com/robert-s-lee","followers_url":"https://api.github.com/users/robert-s-lee/followers","following_url":"https://api.github.com/users/robert-s-lee/following{/other_user}","gists_url":"https://api.github.com/users/robert-s-lee/gists{/gist_id}","starred_url":"https://api.github.com/users/robert-s-lee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robert-s-lee/subscriptions","organizations_url":"https://api.github.com/users/robert-s-lee/orgs","repos_url":"https://api.github.com/users/robert-s-lee/repos","events_url":"https://api.github.com/users/robert-s-lee/events{/privacy}","received_events_url":"https://api.github.com/users/robert-s-lee/received_events","type":"User","site_admin":false},"labels":[{"id":808984040,"url":"https://api.github.com/repos/cockroachdb/docs/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"id":809095271,"url":"https://api.github.com/repos/cockroachdb/docs/labels/incorrect-info","name":"incorrect-info","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":{"login":"lhirata","id":15386648,"avatar_url":"https://avatars0.githubusercontent.com/u/15386648?v=4","gravatar_id":"","url":"https://api.github.com/users/lhirata","html_url":"https://github.com/lhirata","followers_url":"https://api.github.com/users/lhirata/followers","following_url":"https://api.github.com/users/lhirata/following{/other_user}","gists_url":"https://api.github.com/users/lhirata/gists{/gist_id}","starred_url":"https://api.github.com/users/lhirata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhirata/subscriptions","organizations_url":"https://api.github.com/users/lhirata/orgs","repos_url":"https://api.github.com/users/lhirata/repos","events_url":"https://api.github.com/users/lhirata/events{/privacy}","received_events_url":"https://api.github.com/users/lhirata/received_events","type":"User","site_admin":false},"assignees":[{"login":"lhirata","id":15386648,"avatar_url":"https://avatars0.githubusercontent.com/u/15386648?v=4","gravatar_id":"","url":"https://api.github.com/users/lhirata","html_url":"https://github.com/lhirata","followers_url":"https://api.github.com/users/lhirata/followers","following_url":"https://api.github.com/users/lhirata/following{/other_user}","gists_url":"https://api.github.com/users/lhirata/gists{/gist_id}","starred_url":"https://api.github.com/users/lhirata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhirata/subscriptions","organizations_url":"https://api.github.com/users/lhirata/orgs","repos_url":"https://api.github.com/users/lhirata/repos","events_url":"https://api.github.com/users/lhirata/events{/privacy}","received_events_url":"https://api.github.com/users/lhirata/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/cockroachdb/docs/milestones/7","html_url":"https://github.com/cockroachdb/docs/milestone/7","labels_url":"https://api.github.com/repos/cockroachdb/docs/milestones/7/labels","id":2611224,"number":7,"title":"2.0","description":"","creator":{"login":"jseldess","id":15893490,"avatar_url":"https://avatars2.githubusercontent.com/u/15893490?v=4","gravatar_id":"","url":"https://api.github.com/users/jseldess","html_url":"https://github.com/jseldess","followers_url":"https://api.github.com/users/jseldess/followers","following_url":"https://api.github.com/users/jseldess/following{/other_user}","gists_url":"https://api.github.com/users/jseldess/gists{/gist_id}","starred_url":"https://api.github.com/users/jseldess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jseldess/subscriptions","organizations_url":"https://api.github.com/users/jseldess/orgs","repos_url":"https://api.github.com/users/jseldess/repos","events_url":"https://api.github.com/users/jseldess/events{/privacy}","received_events_url":"https://api.github.com/users/jseldess/received_events","type":"User","site_admin":false},"open_issues":44,"closed_issues":300,"state":"open","created_at":"2017-06-29T02:30:15Z","updated_at":"2018-04-10T19:12:46Z","due_on":"2018-04-01T07:00:00Z","closed_at":null},"comments":2,"created_at":"2018-04-09T22:53:56Z","updated_at":"2018-04-10T19:12:46Z","closed_at":"2018-04-10T19:12:46Z","author_association":"CONTRIBUTOR","body":"Re: [JSONB](https://www.cockroachlabs.com/docs/stable/jsonb.html#jsonb-operators)\r\n\r\n## Issue Description\r\n\r\nsmall type Typo\r\n\r\n## Suggested Resolution \r\n\r\nthe 3rd column on the first row should be\r\n```\r\n '{\"foo\":\"bar\"}'::JSONB->'foo' = '\"bar\"'::JSONB\r\n\r\nselect  '{\"foo\":\"bar\"}'::JSONB->'foo' = '\"bar\"'::JSONB\r\n           -> ;\r\n+---------------------------------+\r\n| ('{\"foo\":\"bar\"}'::JSONB->'foo') |\r\n|        = '\"bar\"'::JSONB         |\r\n+---------------------------------+\r\n|              true               |\r\n+---------------------------------+\r\n```\r\n\r\nthe 3rd column on the 3rd row should be\r\n```\r\n('{\"foo\": {\"baz\": 3}, \"bar\": 2}'::JSONB @> '{\"foo\": {\"baz\":3}}'::JSONB ) = true\r\n\r\nselect ('{\"foo\": {\"baz\": 3}, \"bar\": 2}'::JSONB @> '{\"foo\": {\"baz\":3}}'::JSONB ) = true\r\n           -> ;\r\n+--------------------------------+\r\n|  ('{\"foo\": {\"baz\": 3}, \"bar\":  |\r\n|     2}'::JSONB @> '{\"foo\":     |\r\n|   {\"baz\":3}}'::JSONB) = true   |\r\n+--------------------------------+\r\n|              true              |\r\n+--------------------------------+\r\n```\r\n"}}
{"actor":{"display_login":"lhirata"}}