BSD Ports

databases/p5-DBIx-Class-ResultSet-RecursiveUpdate 0.45 DragonFly

Like update_or_create - but recursive

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
databases, perl5
Package size
23.3 KiB, 78.1 KiB installed

Description

It is a base class for ResultSets providing just one method: recur- sive_update which works just like update_or_create but can recursively update or create data objects composed of multiple rows. All rows need to be identified by primary keys - so you need to provide them in the update structure (unless they can be deduced from the parent row - for example when you have a belongs_to relationship). If not all colums comprising the primary key are specified - then a new row will be cre- ated, with the expectation that the missing columns will be filled by it (as in the case of auto_increment primary keys).

In the other systems

SystemPortVersion
DragonFlydatabases/p5-DBIx-Class-ResultSet-RecursiveUpdate0.45
FreeBSDdatabases/p5-DBIx-Class-ResultSet-RecursiveUpdate0.45
NetBSDwip/p5-DBIx-Class-ResultSet-RecursiveUpdate0.42
HardenedBSDdatabases/p5-DBIx-Class-ResultSet-RecursiveUpdate0.45
GhostBSDdatabases/p5-DBIx-Class-ResultSet-RecursiveUpdate0.45

Install

Binary package:

pkg install p5-DBIx-Class-ResultSet-RecursiveUpdate

From DPorts:

cd /usr/dports/databases/p5-DBIx-Class-ResultSet-RecursiveUpdate && make install clean

Dependencies

Run dependencies 9