[Dbix-class] Clone DBIx::Class::Row object to new connection
Rob Kinyon
rob.kinyon at gmail.com
Wed Jun 2 11:41:54 GMT 2010
On Wed, Jun 2, 2010 at 07:21, Gerhard Heift
<ml-dbix-class-20090107-b968 at gheift.de> wrote:
> On Wed, Jun 02, 2010 at 10:00:30AM +0200, Alexander Hartmaier wrote:
>> Can you tell us why you want this?
>
> For example, if you want to fork your program you have to use different
> database connections for each process.
>
> In my case I want to have two or more concurrent transactions to my database.
DBIx::Class already supports forking transparently. You don't have to
do anything at all.
As for concurrent transactions ... that's what forking is for.
Rob
More information about the DBIx-Class
mailing list