[cgi-wiki-dev] passing active database handles vs params

Kate L Pugh cgi-wiki-dev@earth.li
Thu, 3 Jun 2004 03:26:21 +0100


On Wed 02 Jun 2004, Chris Winters <chris@cwinters.com> wrote:
> Is there a reason why the various ::Setup and ::Store classes don't
> take an active database handle in addition to taking a set of
> connection parameters?

I don't think so, no.  As far as I remember - having not checked - all
access is via the database handle.

> I'm happy to submit patches if people think it's worthwhile.

Go for it!  If it goes wrong for someone I'm sure they'll send a failing
test, right?  :)

And I'll find it useful for interfacing a wiki with the bulletin board
I wrote today.

Kake