Hi,

On 24.09.2008, at 09:15, theshz wrote:

Is it possible to get the database handle and run SQL directly as in DBI?

yes, try:

my $dbh = $c->model('DBIC::User')->result_source->storage->dbh;

(assuming your model based on Catalyst::Model::DBIC::Schema is named DBIC and you got a schema called User)

Kind regards,
plu

--
Johannes Plunien | mailto:[EMAIL PROTECTED] | http://www.pqpq.de/contact/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to