On Fri, 26 Oct 2007, jagdish eashwar wrote: > Hi, > I am trying out things with catalyst, dbic and tt. In pure dbi, i can get > the column names and the column values in a hash by using > 'fetchrow_hashref'. In the tt adaptation of dbi, i get the same result by > using 'query'. How do I do this in dbic?
You probably wanted to ask this in the catalyst or dbic lists instead, since it's not really a TT question. But anyway, assuming you have a DBIx::Class::Row object in your template: ->get_columns() returns a hash of colname/value data. Jess _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
