Is there a way how not to fetch a relational object?

For example I have artist and cd. Relationships are trivial.

When I write artist->cd I want to get just id in artist table, but actually I 
am getting cd object and to get id have to artist->cd->id which is another SQL 
query, is there any way to get just column value and not going through all that 
relational stuff?

Probably you've already answered on that question. Sorry for that.

Thanks anyway.

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to