title: How to distinguish conflict in sqlalchemy INSERT…ON CONFLICT (Upsert)
body: <p>I was reading the documentation of SqlAlchemy regarding the upsert operation on postgres dialect at <a href="http://docs.sqlalchemy.org/en/latest/dialects/postgresql.html#insert-on-conflict-upsert" rel="nofollow noreferrer">http://docs.sqlalchemy.org/en/latest/dialects/postgresql.html#insert-on-conflict-upsert</a> </p>
  
  <p>Is there a way to know if the upsert has been an insert or an update?</p>
  
  <p>The documentation seems to omit this detail.</p>