{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-cosmosdb/issues/556","repository_url":"https://api.github.com/repos/Microsoft/vscode-cosmosdb","labels_url":"https://api.github.com/repos/Microsoft/vscode-cosmosdb/issues/556/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-cosmosdb/issues/556/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-cosmosdb/issues/556/events","html_url":"https://github.com/Microsoft/vscode-cosmosdb/issues/556","id":316523082,"number":556,"title":"Error trying to updateOne in mongo - $set syntax","user":{"login":"johnpapa","id":1202528,"avatar_url":"https://avatars2.githubusercontent.com/u/1202528?v=4","gravatar_id":"","url":"https://api.github.com/users/johnpapa","html_url":"https://github.com/johnpapa","followers_url":"https://api.github.com/users/johnpapa/followers","following_url":"https://api.github.com/users/johnpapa/following{/other_user}","gists_url":"https://api.github.com/users/johnpapa/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpapa/subscriptions","organizations_url":"https://api.github.com/users/johnpapa/orgs","repos_url":"https://api.github.com/users/johnpapa/repos","events_url":"https://api.github.com/users/johnpapa/events{/privacy}","received_events_url":"https://api.github.com/users/johnpapa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"PrashanthCorp","id":30420973,"avatar_url":"https://avatars3.githubusercontent.com/u/30420973?v=4","gravatar_id":"","url":"https://api.github.com/users/PrashanthCorp","html_url":"https://github.com/PrashanthCorp","followers_url":"https://api.github.com/users/PrashanthCorp/followers","following_url":"https://api.github.com/users/PrashanthCorp/following{/other_user}","gists_url":"https://api.github.com/users/PrashanthCorp/gists{/gist_id}","starred_url":"https://api.github.com/users/PrashanthCorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrashanthCorp/subscriptions","organizations_url":"https://api.github.com/users/PrashanthCorp/orgs","repos_url":"https://api.github.com/users/PrashanthCorp/repos","events_url":"https://api.github.com/users/PrashanthCorp/events{/privacy}","received_events_url":"https://api.github.com/users/PrashanthCorp/received_events","type":"User","site_admin":false},"assignees":[{"login":"PrashanthCorp","id":30420973,"avatar_url":"https://avatars3.githubusercontent.com/u/30420973?v=4","gravatar_id":"","url":"https://api.github.com/users/PrashanthCorp","html_url":"https://github.com/PrashanthCorp","followers_url":"https://api.github.com/users/PrashanthCorp/followers","following_url":"https://api.github.com/users/PrashanthCorp/following{/other_user}","gists_url":"https://api.github.com/users/PrashanthCorp/gists{/gist_id}","starred_url":"https://api.github.com/users/PrashanthCorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrashanthCorp/subscriptions","organizations_url":"https://api.github.com/users/PrashanthCorp/orgs","repos_url":"https://api.github.com/users/PrashanthCorp/repos","events_url":"https://api.github.com/users/PrashanthCorp/events{/privacy}","received_events_url":"https://api.github.com/users/PrashanthCorp/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-04-21T20:32:17Z","updated_at":"2018-04-23T19:52:41Z","closed_at":null,"author_association":"NONE","body":"Repro steps:\r\n\r\n\r\nI have data that looks like this\r\n\r\n```\r\n{\r\n  \"_id\": \"5a987da06c23a84554ae0519\",\r\n  \"name\": \"Esteban Lothbrok\",\r\n  \"id\": 1,\r\n  \"__v\": 0,\r\n  \"description\": \"aka Ragnar Sigurdsson\"\r\n}\r\n```\r\n\r\nand I try to run this command:\r\n\r\n```\r\n   db.heroes.updateOne(\r\n      { \"name\" : \"Esteban Lothbrok\" },\r\n      { $set: { \"description\" : \"aka Ragnar Sigurdsson 2\" } }\r\n   );\r\n```\r\n\r\nAction: cosmosDB.executeMongoCommand\r\nError type: Error\r\nError Message: Error near line 5, column 5, text '$set'. Please check syntax.\r\n\r\nVersion: 0.6.0\r\nOS: darwin\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-cosmosdb/issues/comments/383701209","html_url":"https://github.com/Microsoft/vscode-cosmosdb/issues/556#issuecomment-383701209","issue_url":"https://api.github.com/repos/Microsoft/vscode-cosmosdb/issues/556","id":383701209,"user":{"login":"StephenWeatherford","id":6913354,"avatar_url":"https://avatars0.githubusercontent.com/u/6913354?v=4","gravatar_id":"","url":"https://api.github.com/users/StephenWeatherford","html_url":"https://github.com/StephenWeatherford","followers_url":"https://api.github.com/users/StephenWeatherford/followers","following_url":"https://api.github.com/users/StephenWeatherford/following{/other_user}","gists_url":"https://api.github.com/users/StephenWeatherford/gists{/gist_id}","starred_url":"https://api.github.com/users/StephenWeatherford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephenWeatherford/subscriptions","organizations_url":"https://api.github.com/users/StephenWeatherford/orgs","repos_url":"https://api.github.com/users/StephenWeatherford/repos","events_url":"https://api.github.com/users/StephenWeatherford/events{/privacy}","received_events_url":"https://api.github.com/users/StephenWeatherford/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T19:52:41Z","updated_at":"2018-04-23T19:52:41Z","author_association":"CONTRIBUTOR","body":"See #466 ."}}
{"actor":{"display_login":"StephenWeatherford"}}