[DBIx-Class-Devel] Optimized update_or_create
Brendan Byrd
Perl at ResonatorSoft.org
Tue Jul 16 23:47:50 GMT 2013
On Fri, Jul 12, 2013 at 3:52 PM, fREW Schmidt <frioux at gmail.com> wrote:
> I'll probably make a helper that will do this, but I was wondering
> what people though of for names? Something like
> update_or_insert since you don't get the object back? I don't like
> update_or_create_fast, but it kinda makes sense.
>
Call it what it is: upsert
-- =
Brendan Byrd <Perl at ResonatorSoft.org>
Brendan Byrd <BBYRD at CPAN.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/201307=
16/c3061bb6/attachment.htm
More information about the DBIx-Class-Devel
mailing list