[odb-users] Object ID and unidirectional to-one relationships

Boris Kolpackov boris at codesynthesis.com
Mon Jun 27 03:58:24 EDT 2011

Hi Nicolas,

Nicolas ALBEZA <n.albeza at gmail.com> writes:

> I was wondering if it was possible for an object ID to be a foreign key (id
> used to map the primary table). It could save some bytes in my tables, and 
> allow me to use find() more often.

I don't see any problem doing this. You will have to provide a custom
database schema but I assume you are already doing this.


More information about the odb-users mailing list