Date: Wed, 25 Mar 2009 10:43:25 +0000 (UTC) From: Lars Balker Rasmussen <lbr@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/databases Makefile ports/databases/p5-DBIx-Class-ResultSet-RecursiveUpdate Makefile distinfo pkg-descr pkg-plist Message-ID: <200903251043.n2PAhPBe022621@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
lbr 2009-03-25 10:43:25 UTC FreeBSD ports repository Modified files: databases Makefile Added files: databases/p5-DBIx-Class-ResultSet-RecursiveUpdate Makefile distinfo pkg-descr pkg-plist Log: New port, databases/p5-DBIx-Class-ResultSet-RecursiveUpdate 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). Revision Changes Path 1.750 +1 -0 ports/databases/Makefile 1.1 +29 -0 ports/databases/p5-DBIx-Class-ResultSet-RecursiveUpdate/Makefile (new) 1.1 +3 -0 ports/databases/p5-DBIx-Class-ResultSet-RecursiveUpdate/distinfo (new) 1.1 +11 -0 ports/databases/p5-DBIx-Class-ResultSet-RecursiveUpdate/pkg-descr (new) 1.1 +7 -0 ports/databases/p5-DBIx-Class-ResultSet-RecursiveUpdate/pkg-plist (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903251043.n2PAhPBe022621>