This morning I was doing some work on relationships and ran into this question: What is the difference between belongs_to and has_one/might_have?
They seem VERY similar. AFAICT the fundamental difference is that with belongs_to cascading delete is turned off, while with has_one cascading delete is turned on by default. Is there any other differences between these two? Thanks, Drew -- ---------------------------------------------------------------- Drew Taylor * Web development & consulting Email: [EMAIL PROTECTED] * Site implementation & hosting Web : www.drewtaylor.com * perl/mod_perl/DBI/mysql/postgres ---------------------------------------------------------------- _______________________________________________ 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]/
