On 16 Jan 2007, [EMAIL PROTECTED] wrote:
> On 1/15/07, Cory Bennett <[EMAIL PROTECTED]> wrote:
> > Ahh, found the magic.
> > In Rose::DB::Object::Metadata::Relationship::OneToMany I found the special
> > (but buried) 'query_args' variable. So this will do what I want:
> > relationships => [
>
On 1/15/07, Cory Bennett <[EMAIL PROTECTED]> wrote:
> Ahh, found the magic.
> In Rose::DB::Object::Metadata::Relationship::OneToMany I found the special
> (but buried) 'query_args' variable. So this will do what I want:
> relationships => [
> prices => {
> type => 'on
Ahh, found the magic.
In Rose::DB::Object::Metadata::Relationship::OneToMany I found the special
(but buried) 'query_args' variable. So this will do what I want:
relationships => [
prices => {
type => 'one to many',
class => 'Price',
colu
I am wondering if there is a way to represent conditional relationships. In
the Vendor/Product/Price tutorial example lets say I change the prices table
to look like:
CREATE TABLE prices (
id SERIAL NOT NULL PRIMARY KEY,
product_id INT NOT NULL REFERENCES products (id),
re