Find or create (upsert) functionality in Doctrine 2
doctrine, doctrine-orm
Solution
I believe I found the answer. As of today (10/15/2012), there's an open "add upsert support" issue for Doctrine. I assume that this ticket wouldn't still be open if Doctrine 2 did have upsert support, so I guess there's my definitive answer.
Problem
Does Doctrine 2 have upsert functionality built in? It doesn't seem to, but I wasn't able to find a definitive yes-or-no answer. If it does, I would of course be interested to see an example and/or some documentation.