[CDBI] Re: pass in database name from application
brian.wisti at gmail.com
Mon Oct 10 21:29:21 BST 2005
I'd be happy to revert changes when I see them, but I don't know how this
particular wiki handles reverting to a previous revision of a page. I was
able to cut and paste on the front page, but that's about as far as I got
before life came calling.
Oh, and hi everyone. Having loads of fun using CDBI on a contract, and
feeling lots of love for my new and improved application code :-)
On 10/10/05, Christopher H. Laco <claco at chrislaco.com> wrote:
> Edward J. Sabol wrote:
> > Will wrote:
> >>The standard approach to the many-databases question, and one of the
> >>main things that CDF does for you, is to omit the connection(...)
> >>call and supply your own database handles from a db_Main method in
> >>your base class.
> > Yup. See http://wiki.class-dbi.com/index.cgi?UsingMultipleDatabases for
> > info and examples.
> >>The only thing you have to watch out for is that the handles
> >>returned by your method are of the same kind as the ones that cdbi
> >>normally uses. Ed has listed the requirements here:
> > Also here:
> > http://wiki.class-dbi.com/index.cgi?ReUseLegacyDBIHandle
> > _______________________________________________
> > ClassDBI mailing list
> > ClassDBI at lists.digitalcraftsmen.net
> > http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi
> Arggggg.... damn wiki spammers are at it again.
> Can we just password protect changes and have some sorts of open
> ClassDBI mailing list
> ClassDBI at lists.digitalcraftsmen.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ClassDBI