[Koha-devel] [PATCH] C4::Table - A simple OO database abstraction layer.
Joe Atzberger
ohiocore at gmail.com
Thu Nov 13 22:01:06 CET 2008
DBIx::Class, in all likelihood, will be the real solution. As the author of
C4::Table, I still think it is cool, easy to use and relatively tight, but
it's unfinished, and there won't be a real need for it once we have
DBIx::Class involved.
--Joe
On Thu, Nov 13, 2008 at 4:59 AM, Rick Welykochy <rick at praxis.com.au> wrote:
> Joe Atzberger wrote:
>
> > The purpose of Table is to provide all the basic functionality that
> > is reimplemented multiple times throughout Koha for each DB table.
> > This code is considered experimental and does not yet supplant any
> > production code. Please examine and test, like:
> > use C4::Table;
> > my $table = C4::Table->new("borrowers");
> > my $set = $table->select({surname=>"Smith",
> sort=>"branchcode,firstname"});
>
> So what's it going to be for K3?
>
> C4::Table or DBIx::Class?
>
> -rickw
> --
> _________________________________
> Rick Welykochy || Praxis Services
>
> Tis the dream of each programmer before his life is done,
> To write three lines of APL and make the damn thing run.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20081113/16707855/attachment-0003.htm>
More information about the Koha-devel
mailing list