Commit | Line | Data |
c2a9b18b |
1 | $VAR1 = { |
2 | 'might_have' => { |
3 | 'fetch' => 0 |
4 | }, |
5 | 'rules' => { |
6 | 'might_have' => { |
7 | 'fetch' => 0 |
8 | }, |
9 | 'CD' => { |
10 | 'join' => [ |
11 | 'tags' |
12 | ], |
13 | 'fetch' => [ |
14 | { |
15 | 'cond' => { |
16 | 'position' => 2 |
17 | }, |
18 | 'rel' => 'tracks' |
19 | } |
20 | ], |
21 | 'cond' => [ |
22 | { |
23 | 'tags.tag' => 'Cheesy' |
24 | } |
25 | ] |
26 | } |
27 | }, |
28 | 'sets' => [ |
29 | { |
30 | 'ids' => [ |
31 | '5' |
32 | ], |
33 | 'class' => 'CD' |
34 | }, |
35 | { |
36 | 'ids' => [ |
37 | '1' |
38 | ], |
39 | 'fetch' => [ |
40 | { |
41 | 'rel' => 'cds', |
42 | 'quantity' => 'all' |
43 | } |
44 | ], |
45 | 'class' => 'Artist' |
46 | } |
47 | ], |
48 | 'belongs_to' => { |
49 | 'fetch' => 1 |
50 | }, |
51 | 'has_many' => { |
52 | 'fetch' => 0 |
53 | } |
54 | }; |