>>>>> "John" == John Napiorkowski <[email protected]> writes:

    John> I generally try to do this as well, however I find that doing
    John> this for simple finds on primary keys gets a bit tedious, and
    John> frankly I wonder if I'm not wasting time and adding to
    John> complexity.  Would be interested in your thoughts.

Yes, letting ->find pass through is ok, since it isn't a very complex
part of the DBIC API, things like ->next and ->all are ok too, as long
as you remain agnostic about what underlying object is actually handling
the methods.

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to