[CDBI] has_a relationship with non-primary column?

Perrin Harkins perrin at elem.com
Tue Sep 4 21:00:39 BST 2007

On 9/4/07, Praveen Hombaiah <phombaiah at gmail.com> wrote:
> Is it possible to setup a has_a relationship with a non-primary key column?

Yes, if the column is unique.

> If so, how can it be expressed.

The usual syntax should work.

- Perrin

More information about the ClassDBI mailing list