{"action":"opened","issue":{"url":"https://api.github.com/repos/hueniverse/penseur/issues/79","repository_url":"https://api.github.com/repos/hueniverse/penseur","labels_url":"https://api.github.com/repos/hueniverse/penseur/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/hueniverse/penseur/issues/79/comments","events_url":"https://api.github.com/repos/hueniverse/penseur/issues/79/events","html_url":"https://github.com/hueniverse/penseur/issues/79","id":166628692,"number":79,"title":"Support replacing documents","user":{"login":"bengillies","id":102089,"avatar_url":"https://avatars.githubusercontent.com/u/102089?v=3","gravatar_id":"","url":"https://api.github.com/users/bengillies","html_url":"https://github.com/bengillies","followers_url":"https://api.github.com/users/bengillies/followers","following_url":"https://api.github.com/users/bengillies/following{/other_user}","gists_url":"https://api.github.com/users/bengillies/gists{/gist_id}","starred_url":"https://api.github.com/users/bengillies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bengillies/subscriptions","organizations_url":"https://api.github.com/users/bengillies/orgs","repos_url":"https://api.github.com/users/bengillies/repos","events_url":"https://api.github.com/users/bengillies/events{/privacy}","received_events_url":"https://api.github.com/users/bengillies/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-20T16:47:30Z","updated_at":"2016-07-20T16:47:30Z","closed_at":null,"body":"Currently penseur only seems to support inserting a fresh document with a new id (via `insert`), or merging document changes with an existing document (via either `update` or `insert` + `{ merge: true }`).\r\n\r\nIdeally, it should also support some way of replacing documents without merging anything. ReQL supports this via both `replace` and a combination of `insert` and `{ conflict: 'replace' }`."}}
{"actor":{"display_login":"bengillies"}}