On 8/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:
I looked at that code.  My table is called user, but that difference is minor.
I think the biggest difference is that I'm using DBIC::Schema::Loader.
Is there a way use that?


It should work with Schema::Loader just as well.  You'd just have to define the inflate/deflate stuff manually, as in:

MySchema.pm:

package MySchema;
use base qw/DBIx::Class::Schema::Loader/;
__PACKAGE_->loader_options( relationships => 1 );
1;

MySchema/User.pm
package MySchema::User;
__PACKAGE__->inflate_column( .... ); # use the col name the loader finds
1;

-- Brandon
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to