projects
/
dbsrgits/DBIx-Class-Fixtures.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
populate code added
[dbsrgits/DBIx-Class-Fixtures.git]
/
t
/
var
/
configs
/
rules.json
1
{
2
might_have: {
3
fetch: 0
4
},
5
has_many: {
6
fetch: 0
7
},
8
sets: [{
9
class: 'CD',
10
ids: ['5']
11
}, {
12
class: 'Artist',
13
ids: ['1'],
14
fetch: [{
15
rel: cds,
16
quantity: all
17
}]
18
}],
19
rules: {
20
'CD': {
21
cond: [{ 'tags.tag': 'Cheesy' }],
22
join: ['tags'],
23
fetch: [{
24
rel: tracks,
25
cond: { position: 2 }
26
}]
27
}
28
}
29
}