On Tue, 2008-06-17 at 17:04 +0800, Mike.G wrote:
> Hi, every, right now, I want to use the DBIx::Class in my project.
> but I had used the CGI::Application::Plugin::DBH for get the database
> connection,
> so  the DBIx::Class can use the exists Database Connection Ref?
> like, right now, I had the $dbh.
> by :
> my $dbh = $this->dbh;
> so can I pass this $dbh into the DBIx::Class ?

Mike,

If DBIx::Class can accept an existing database handle, then: Yes.  If
there is uncertainty about that, then that's a question to confirm to
the DBIx::Class list. 

    Mark



#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to