Hey Matthew,

2013/6/14 Matthew Sherborne <msherbo...@gmail.com>

> So I have two questions here:
>
> 1. Has anyone used witty with pg table inheritance ? if so how please ?
>

I haven't; I'm usually conservative when it comes to using SQL features;
only plain old 1-1, 1-N and M-N relations.


> 2. Is my understanding of the difference between Dbo::hasOne and belongsTo
> correct ? As I understand it, the only difference is that belongsTo creates
> a normal ptr, and hasOne creates a weak_ptr.
>

Yes. The 'weak_ptr' is actually backed by a query, similar to the
collection involved in hasMany().

Regards,
koen
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to