interchange / DBIx-Class-Training

0 stars 1 forks source link

Relationships #6

Open racke opened 8 years ago

racke commented 8 years ago

b5478e1 introduces a section about relationships. Here are a few remarks:

Relationships bridges (many_to_many) can not be detected by the relationship info functions. See also https://github.com/interchange/TableEditor/issues/36.

Maybe we can add also a few examples for these info functions.

Also we miss an example for "Multiple groups of simple equality conditions".

SysPete commented 8 years ago

On 11/10/15 11:17, Stefan Hornburg (Racke) wrote:

b5478e1 https://github.com/interchange/DBIx-Class-Training/commit/b5478e10261783e06831a041cb6676b5babb5fb3 introduces a section about relationships. Here are a few remarks:

Relationships bridges (many_to_many) can not be detected by the relationship info functions. See also interchange/TableEditor#36 https://github.com/interchange/TableEditor/issues/36.

Maybe we can add also a few examples for these info functions.

Yes - we need something about introspection. The 'correct' way for m2m introspection is via https://metacpan.org/pod/DBIx::Class::IntrospectableM2M so we should also mention this.

Also we miss an example for "Multiple groups of simple equality conditions".

— Reply to this email directly or view it on GitHub https://github.com/interchange/DBIx-Class-Training/issues/6.