[Dbix-class] Insert or Update (was ANNOUNCE: 0.08099_08)

Peter Corlett abuse at cabal.org.uk
Sun Apr 19 10:49:29 GMT 2009


On 19 Apr 2009, at 11:14, Matt S Trout wrote:
[...]
> And the patch didn't come with tests, so I assumed he didn't *want*  
> it to
> be applied ...

It was more a prompt for somebody with better inside knowledge of  
DBIx::Class to take the idea and run with it or suggest a better  
implementation. No point writing tests for code that's not suitable to  
be used...

> Valid idea though, and something we should look at making a  
> capability in
> storage for 09 - in the meantime I'd recommend rewriting it as a  
> reusltset
> component just as people already suggested, repeatedly.

The word "component" wasn't used at all in the thread before I went  
off and wrote some code.

I'd argue that DBIx::Class should actually be race-free out of the box  
rather than require an obscure component to get such behaviour, but  
I'll go off and rewrite it as a component instead.





More information about the DBIx-Class mailing list