<div style="font-family: Helvetica; font-size: 13px;">Hi,<div><br></div><div>Postgres now has support for upserts, is this a feature you would now consider adding to Pony?</div></div>
                <div><div><br></div><div><span style="font-size: 10pt; ">Thanks,</span></div><div><span style="font-size: 10pt; ">------------------</span></div><div><span style="font-size: 10pt; ">Jake</span></div><div><a href="http://jakeaustwick.me/" style="color: rgb(0, 106, 227); background-color: rgb(255, 255, 255); ">http://jakeaustwick.me/</a></div><div></div><div></div></div>
                 
                <p style="color: #A0A0A8;">On Thursday, 28 August 2014 at 01:15, Jake Austwick wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div dir="ltr">Ahh, I see the issue.<div><br></div><div>Currently I'm using the following method to achieve what I essentially would like to be able to do in one query: <a href="https://gist.github.com/JakeAustwick/ab3a18aaaf5dcdc177b8">https://gist.github.com/JakeAustwick/ab3a18aaaf5dcdc177b8</a></div>
<div><br></div><div>But it involves two round trips :(</div><div><br></div><div>Thanks,</div><div>Jake</div></div><div><br><br><div>On Wed, Aug 27, 2014 at 2:28 AM, Jake Austwick <span dir="ltr"><<a href="mailto:jake.austwick@gmail.com" target="_blank">jake.austwick@gmail.com</a>></span> wrote:<br><blockquote type="cite"><div>
                <div>Does Pony have functionality to create or update if existing a model in one query, or do I have to check with exists() first?</div><div><br></div><div>Example: <a href="http://stackoverflow.com/a/1218909/2175384" target="_blank">http://stackoverflow.com/a/1218909/2175384</a></div>
<div><br></div><div>I couldn't find a way to do this in one query in the documentation, and if it currently isn't in there, is it a planned feature?</div><div><br></div><div>Thanks,</div><span><font color="#888888"><div>
<div>-- </div><div>Jake Austwick</div></div>
            </font></span></div></blockquote></div><br></div>
</div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>