Using fields in relationship table to return as part of Rowset Zend Framework?

This question is related to another: Does a many-to-many relationship with a recursive one-to-many in mysql require at least 4 tables?.

My question is how can I use or return values that are in the junction / relationship table of a many-to-many relationship.

When using:

$row = $original_row->findManyToManyRowset('Model_New', 'Model_OriginalNew');

I only receive the related record, but I would like to acquire an extra field that is in the junction table of the form:

|  id  |  original_id  |  new_id  |  percentage |

I would like to get the percentage value, is that possible with active record or should I just make use of a Database Access Object?


Just use:


Need Your Help

How to generate a random weighted distribution of elements

javascript arrays algorithm

I would like to return an array which has a set of unique elements randomly distributed according to custom frequency. My real world use-case is the repetition of carousel images based on a qualita...

.net mvc Updated jquery now getting critical error


I updated jquery today through NuGet and I am now receiving the following error: