{"action":"opened","issue":{"url":"https://api.github.com/repos/coleifer/peewee/issues/1023","repository_url":"https://api.github.com/repos/coleifer/peewee","labels_url":"https://api.github.com/repos/coleifer/peewee/issues/1023/labels{/name}","comments_url":"https://api.github.com/repos/coleifer/peewee/issues/1023/comments","events_url":"https://api.github.com/repos/coleifer/peewee/issues/1023/events","html_url":"https://github.com/coleifer/peewee/issues/1023","id":167686809,"number":1023,"title":"PostgresqlDatabase class does not have `_upsert` statement","user":{"login":"cheetah90","id":3032091,"avatar_url":"https://avatars.githubusercontent.com/u/3032091?v=3","gravatar_id":"","url":"https://api.github.com/users/cheetah90","html_url":"https://github.com/cheetah90","followers_url":"https://api.github.com/users/cheetah90/followers","following_url":"https://api.github.com/users/cheetah90/following{/other_user}","gists_url":"https://api.github.com/users/cheetah90/gists{/gist_id}","starred_url":"https://api.github.com/users/cheetah90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheetah90/subscriptions","organizations_url":"https://api.github.com/users/cheetah90/orgs","repos_url":"https://api.github.com/users/cheetah90/repos","events_url":"https://api.github.com/users/cheetah90/events{/privacy}","received_events_url":"https://api.github.com/users/cheetah90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-26T19:10:11Z","updated_at":"2016-07-26T19:10:11Z","closed_at":null,"body":"Looking at the [PostgresqlDatabase class](https://github.com/coleifer/peewee/blob/b84ca0c8bc724b8cccd0b5bbd557abc04885c478/peewee.py#L3945), it does not specify the statement for `_upsert`, so when [`query._upsert` is called here](https://github.com/coleifer/peewee/blob/b84ca0c8bc724b8cccd0b5bbd557abc04885c478/peewee.py#L1982) , it just return `None`."}}
{"actor":{"display_login":"cheetah90"}}