[Dbix-class] Fast way to generate a table from DBIC ResultSet

Matt S Trout dbix-class at trout.me.uk
Tue Jun 12 17:05:28 GMT 2007


On Tue, Jun 12, 2007 at 12:49:55AM -0400, Li Hao wrote:
> Hi, folks:
> 
> I am very new to DBIx::Class, so please bear with my simple questions...
> 
> I previously use DBIx::Simple to handle DBI and it contains methods to
> handle tables pretty easily(use DBIx::XHTML_Table). Now I am planning
> to migrate my code to use DBIx::Class. I've read the documentations
> several days and migrated most of my code from DBIx::Simple to
> DBIx::Class except printing out the tables.. Could someone recommend a
> similar module as DBIx::XHTML_Table to populate a table which work
> with DBIx::Class?? Thanks..

my $rows = $rs->cursor->all;

That can go to XHTML_Table style_3.

> BTW. DBIx::Class is really cool... :-)

We're glad you like it :)

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 



More information about the Dbix-class mailing list