Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gem
capsuledb
Commits
94bb7442
Commit
94bb7442
authored
Feb 15, 2012
by
Bertrand NÉRON
Browse files
ad views to query the taxonomy of all replicon in db
parent
27781f79
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/couchapp/secreton/views/by_replicon_taxonomy/map.js
deleted
100644 → 0
View file @
27781f79
function
(
doc
)
{
for
(
i
in
doc
.
replicon
.
taxonomy
){
emit
(
doc
.
replicon
.
taxonomy
[
i
],
doc
.
_id
);
}
}
\ No newline at end of file
src/couchapp/secreton/views/taxonomy/map.js
0 → 100644
View file @
94bb7442
function
(
doc
)
{
emit
(
doc
.
replicon
.
taxonomy
,
1
);
}
\ No newline at end of file
src/couchapp/secreton/views/taxonomy/reduce.js
0 → 100644
View file @
94bb7442
function
(
keys
,
values
,
rereduce
){
return
sum
(
values
);
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment