Fix `data\source\Database::read()` hack. #752

Merged
merged 2 commits into from Dec 19, 2012

2 participants

@jails
Union of RAD member

With this PR array('return' => 'array') option on queries with relations will return something like the following:

array(
    'field1' => 'value1',
    'field2' => 'value2',
    'field3' => 'value3',
    /* ... other fields ... */
    'relation_fieldname' => array(
             'field1' => 'value1',
             'field2' => 'value2',
             'field3' => 'value3',
             /* ... other fields ... */
             'subrelation_fieldname' => array(
                   /*...*/
             )
 );
@nateabele nateabele merged commit 832578a into UnionOfRAD:dev Dec 19, 2012

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment