From owner-cvs-all@FreeBSD.ORG Wed Mar 25 10:43:26 2009 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08951106566C; Wed, 25 Mar 2009 10:43:26 +0000 (UTC) (envelope-from lbr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EB6DB8FC16; Wed, 25 Mar 2009 10:43:25 +0000 (UTC) (envelope-from lbr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n2PAhP7n022622; Wed, 25 Mar 2009 10:43:25 GMT (envelope-from lbr@repoman.freebsd.org) Received: (from lbr@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n2PAhPBe022621; Wed, 25 Mar 2009 10:43:25 GMT (envelope-from lbr) Message-Id: <200903251043.n2PAhPBe022621@repoman.freebsd.org> From: Lars Balker Rasmussen Date: Wed, 25 Mar 2009 10:43:25 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/databases Makefile ports/databases/p5-DBIx-Class-ResultSet-RecursiveUpdate Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2009 10:43:26 -0000 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)