Drew Taylor wrote:
> On 10/10/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
>> my $model_dbic_schema_object = MyApp->model('Foo');
> 
> Shouldn't the name actually be "$model_dbic_resultset_object"? I'm
> still trying to wrap my head around _all_ of DBIC, so I'm not just
> being pedantic. :-)

No. MyApp::Model::Foo isa C::M::DBIC::Schema

If you had a Bar class in the relevant schema,

MyApp->model('Foo::Bar') would give you a DBIx::Class::ResultSet though.

-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +

_______________________________________________
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