[html-formfu] Re: RFC: automatic constraints from DBIx::Class column_info

Brian Cassidy brian.cassidy at nald.ca
Thu May 17 14:53:08 GMT 2007


Carl Franks wrote:
> I've been getting the column info via:
> MyApp::Schema->resultset('Table')->result_source->column_info;
> 
> I may be missing something, but I can't see any way of getting it
> starting with 'MyApp::Schema::Table'.
> 
> MyApp::Schema::Table->result_source; gives a fatal error.
> MyApp::Schema::Table->new; doesn't instantiate the result source or 
> column info.

MyApp::Schema::Table->column_info( 'column' ) ?

-Brian



More information about the HTML-FormFu mailing list