Submit Search
Upload
Introduction to mongodb for bioinformatics
•
Download as ODP, PDF
•
6 likes
•
3,136 views
Pierre Lindenbaum
Follow
Introduction to mongodb for bioinformatics
Read less
Read more
Technology
Health & Medicine
Slideshow view
Report
Share
Slideshow view
Report
Share
1 of 25
Download now
Recommended
Schema design with MongoDB (Dwight Merriman)
Schema design with MongoDB (Dwight Merriman)
MongoSF
Rails in the enterprise
Rails in the enterprise
alexrothenberg
Mongokit presentation mongofr-2010
Mongokit presentation mongofr-2010
namlook
MongoDB (Advanced)
MongoDB (Advanced)
TO THE NEW | Technology
Douglas Crockford Presentation Jsonsaga
Douglas Crockford Presentation Jsonsaga
Ajax Experience 2009
Clean code
Clean code
iamAnaCortes
Reading the .explain() Output
Reading the .explain() Output
MongoDB
MongoDB Advanced Topics
MongoDB Advanced Topics
César Rodas
Recommended
Schema design with MongoDB (Dwight Merriman)
Schema design with MongoDB (Dwight Merriman)
MongoSF
Rails in the enterprise
Rails in the enterprise
alexrothenberg
Mongokit presentation mongofr-2010
Mongokit presentation mongofr-2010
namlook
MongoDB (Advanced)
MongoDB (Advanced)
TO THE NEW | Technology
Douglas Crockford Presentation Jsonsaga
Douglas Crockford Presentation Jsonsaga
Ajax Experience 2009
Clean code
Clean code
iamAnaCortes
Reading the .explain() Output
Reading the .explain() Output
MongoDB
MongoDB Advanced Topics
MongoDB Advanced Topics
César Rodas
Schema design short
Schema design short
MongoDB
ETL for Pros: Getting Data Into MongoDB
ETL for Pros: Getting Data Into MongoDB
MongoDB
Monitoring MongoDB (MongoSV)
Monitoring MongoDB (MongoSV)
Boxed Ice
MongoDB Europe 2016 - ETL for Pros – Getting Data Into MongoDB The Right Way
MongoDB Europe 2016 - ETL for Pros – Getting Data Into MongoDB The Right Way
MongoDB
Teri's Resume
Teri's Resume
teri louk
Powerful Analysis with the Aggregation Pipeline
Powerful Analysis with the Aggregation Pipeline
MongoDB
Doc data
Doc data
Dieu Dinh
I Don't Care About Security (And Neither Should You)
I Don't Care About Security (And Neither Should You)
Joel Lord
ConFoo - Migrating To Mongo Db
ConFoo - Migrating To Mongo Db
Context.IO
I Don't Care About Security (And Neither Should You)
I Don't Care About Security (And Neither Should You)
Joel Lord
MongoDB Europe 2016 - Advanced MongoDB Aggregation Pipelines
MongoDB Europe 2016 - Advanced MongoDB Aggregation Pipelines
MongoDB
a hands on guide to django
a hands on guide to django
swee meng ng
Swift Cloud Workshop - Codable, the key to Fullstack Swift
Swift Cloud Workshop - Codable, the key to Fullstack Swift
Chris Bailey
Getting groovy
Getting groovy
Nick Dixon
Limits of RDBMS and Need for NoSQL in Bioinformatics
Limits of RDBMS and Need for NoSQL in Bioinformatics
Dan Sullivan, Ph.D.
Benefits of Using MongoDB Over RDBMSs
Benefits of Using MongoDB Over RDBMSs
MongoDB
MySQL and bioinformatics
MySQL and bioinformatics
Arindam Ghosh
An overview of Neo4j Internals
An overview of Neo4j Internals
Tobias Lindaaker
databases in bioinformatics
databases in bioinformatics
nadeem akhter
MongoDB Schema Design: Four Real-World Examples
MongoDB Schema Design: Four Real-World Examples
Mike Friedman
Using Yahoo Pipes
Using Yahoo Pipes
Anna Gerber
Scala 3camp 2011
Scala 3camp 2011
Scalac
More Related Content
What's hot
Schema design short
Schema design short
MongoDB
ETL for Pros: Getting Data Into MongoDB
ETL for Pros: Getting Data Into MongoDB
MongoDB
Monitoring MongoDB (MongoSV)
Monitoring MongoDB (MongoSV)
Boxed Ice
MongoDB Europe 2016 - ETL for Pros – Getting Data Into MongoDB The Right Way
MongoDB Europe 2016 - ETL for Pros – Getting Data Into MongoDB The Right Way
MongoDB
Teri's Resume
Teri's Resume
teri louk
Powerful Analysis with the Aggregation Pipeline
Powerful Analysis with the Aggregation Pipeline
MongoDB
Doc data
Doc data
Dieu Dinh
I Don't Care About Security (And Neither Should You)
I Don't Care About Security (And Neither Should You)
Joel Lord
ConFoo - Migrating To Mongo Db
ConFoo - Migrating To Mongo Db
Context.IO
I Don't Care About Security (And Neither Should You)
I Don't Care About Security (And Neither Should You)
Joel Lord
MongoDB Europe 2016 - Advanced MongoDB Aggregation Pipelines
MongoDB Europe 2016 - Advanced MongoDB Aggregation Pipelines
MongoDB
a hands on guide to django
a hands on guide to django
swee meng ng
Swift Cloud Workshop - Codable, the key to Fullstack Swift
Swift Cloud Workshop - Codable, the key to Fullstack Swift
Chris Bailey
Getting groovy
Getting groovy
Nick Dixon
What's hot
(14)
Schema design short
Schema design short
ETL for Pros: Getting Data Into MongoDB
ETL for Pros: Getting Data Into MongoDB
Monitoring MongoDB (MongoSV)
Monitoring MongoDB (MongoSV)
MongoDB Europe 2016 - ETL for Pros – Getting Data Into MongoDB The Right Way
MongoDB Europe 2016 - ETL for Pros – Getting Data Into MongoDB The Right Way
Teri's Resume
Teri's Resume
Powerful Analysis with the Aggregation Pipeline
Powerful Analysis with the Aggregation Pipeline
Doc data
Doc data
I Don't Care About Security (And Neither Should You)
I Don't Care About Security (And Neither Should You)
ConFoo - Migrating To Mongo Db
ConFoo - Migrating To Mongo Db
I Don't Care About Security (And Neither Should You)
I Don't Care About Security (And Neither Should You)
MongoDB Europe 2016 - Advanced MongoDB Aggregation Pipelines
MongoDB Europe 2016 - Advanced MongoDB Aggregation Pipelines
a hands on guide to django
a hands on guide to django
Swift Cloud Workshop - Codable, the key to Fullstack Swift
Swift Cloud Workshop - Codable, the key to Fullstack Swift
Getting groovy
Getting groovy
Viewers also liked
Limits of RDBMS and Need for NoSQL in Bioinformatics
Limits of RDBMS and Need for NoSQL in Bioinformatics
Dan Sullivan, Ph.D.
Benefits of Using MongoDB Over RDBMSs
Benefits of Using MongoDB Over RDBMSs
MongoDB
MySQL and bioinformatics
MySQL and bioinformatics
Arindam Ghosh
An overview of Neo4j Internals
An overview of Neo4j Internals
Tobias Lindaaker
databases in bioinformatics
databases in bioinformatics
nadeem akhter
MongoDB Schema Design: Four Real-World Examples
MongoDB Schema Design: Four Real-World Examples
Mike Friedman
Viewers also liked
(6)
Limits of RDBMS and Need for NoSQL in Bioinformatics
Limits of RDBMS and Need for NoSQL in Bioinformatics
Benefits of Using MongoDB Over RDBMSs
Benefits of Using MongoDB Over RDBMSs
MySQL and bioinformatics
MySQL and bioinformatics
An overview of Neo4j Internals
An overview of Neo4j Internals
databases in bioinformatics
databases in bioinformatics
MongoDB Schema Design: Four Real-World Examples
MongoDB Schema Design: Four Real-World Examples
Similar to Introduction to mongodb for bioinformatics
Using Yahoo Pipes
Using Yahoo Pipes
Anna Gerber
Scala 3camp 2011
Scala 3camp 2011
Scalac
development, ruby, conferences, frameworks, ruby on rails, confreaks, actsasc...
development, ruby, conferences, frameworks, ruby on rails, confreaks, actsasc...
ActsAsCon
Relaxing With CouchDB
Relaxing With CouchDB
leinweber
Jsonsaga
Jsonsaga
nohmad
The JSON Saga
The JSON Saga
kaven yan
Arquitetura Java em 2007 (Java Architecture in 2007)
Arquitetura Java em 2007 (Java Architecture in 2007)
Phil Calçado
JSUG - TU Wien Castor Project by Lukas Lang
JSUG - TU Wien Castor Project by Lukas Lang
Christoph Pickl
Python And GIS - Beyond Modelbuilder And Pythonwin
Python And GIS - Beyond Modelbuilder And Pythonwin
Chad Cooper
Avro, la puissance du binaire, la souplesse du JSON
Avro, la puissance du binaire, la souplesse du JSON
Alexandre Victoor
JSARToolKit / LiveChromaKey / LivePointers - Next gen of AR
JSARToolKit / LiveChromaKey / LivePointers - Next gen of AR
Yusuke Kawasaki
Embedded Metadata working group
Embedded Metadata working group
Visual Resources Association
Real-time search in Drupal with Elasticsearch @Moldcamp
Real-time search in Drupal with Elasticsearch @Moldcamp
Alexei Gorobets
Fighting fraud: finding duplicates at scale
Fighting fraud: finding duplicates at scale
Alexey Grigorev
Fantom and Tales
Fantom and Tales
kaushik_sathupadi
Significant Characteristics In Planets Manfred Thaller
Significant Characteristics In Planets Manfred Thaller
DigitalPreservationEurope
Javascript Basic
Javascript Basic
Kang-min Liu
Couch Db.0.9.0.Pub
Couch Db.0.9.0.Pub
Yohei Sasaki
Searching the Now
Searching the Now
lucasjosh
MongoDB - Monitoring and queueing
MongoDB - Monitoring and queueing
Boxed Ice
Similar to Introduction to mongodb for bioinformatics
(20)
Using Yahoo Pipes
Using Yahoo Pipes
Scala 3camp 2011
Scala 3camp 2011
development, ruby, conferences, frameworks, ruby on rails, confreaks, actsasc...
development, ruby, conferences, frameworks, ruby on rails, confreaks, actsasc...
Relaxing With CouchDB
Relaxing With CouchDB
Jsonsaga
Jsonsaga
The JSON Saga
The JSON Saga
Arquitetura Java em 2007 (Java Architecture in 2007)
Arquitetura Java em 2007 (Java Architecture in 2007)
JSUG - TU Wien Castor Project by Lukas Lang
JSUG - TU Wien Castor Project by Lukas Lang
Python And GIS - Beyond Modelbuilder And Pythonwin
Python And GIS - Beyond Modelbuilder And Pythonwin
Avro, la puissance du binaire, la souplesse du JSON
Avro, la puissance du binaire, la souplesse du JSON
JSARToolKit / LiveChromaKey / LivePointers - Next gen of AR
JSARToolKit / LiveChromaKey / LivePointers - Next gen of AR
Embedded Metadata working group
Embedded Metadata working group
Real-time search in Drupal with Elasticsearch @Moldcamp
Real-time search in Drupal with Elasticsearch @Moldcamp
Fighting fraud: finding duplicates at scale
Fighting fraud: finding duplicates at scale
Fantom and Tales
Fantom and Tales
Significant Characteristics In Planets Manfred Thaller
Significant Characteristics In Planets Manfred Thaller
Javascript Basic
Javascript Basic
Couch Db.0.9.0.Pub
Couch Db.0.9.0.Pub
Searching the Now
Searching the Now
MongoDB - Monitoring and queueing
MongoDB - Monitoring and queueing
More from Pierre Lindenbaum
Next Generation Sequencing file Formats ( 2017 )
Next Generation Sequencing file Formats ( 2017 )
Pierre Lindenbaum
Introduction to Linux
Introduction to Linux
Pierre Lindenbaum
Mum, I 3D printed a gel comb !
Mum, I 3D printed a gel comb !
Pierre Lindenbaum
"Mon make à moi", (tout sauf Galaxy)
"Mon make à moi", (tout sauf Galaxy)
Pierre Lindenbaum
Advanced NCBI
Advanced NCBI
Pierre Lindenbaum
File formats for Next Generation Sequencing
File formats for Next Generation Sequencing
Pierre Lindenbaum
Building a Simple LIMS with the Eclipse Modeling Framework (EMF) ,my notebook
Building a Simple LIMS with the Eclipse Modeling Framework (EMF) ,my notebook
Pierre Lindenbaum
Make
Make
Pierre Lindenbaum
XML for bioinformatics
XML for bioinformatics
Pierre Lindenbaum
20120423.NGS.Rennes
20120423.NGS.Rennes
Pierre Lindenbaum
Sketching 20120412
Sketching 20120412
Pierre Lindenbaum
Biostar17037
Biostar17037
Pierre Lindenbaum
Tweeting for the BioStar Paper
Tweeting for the BioStar Paper
Pierre Lindenbaum
Variation Toolkit
Variation Toolkit
Pierre Lindenbaum
Bioinformatician 2.0
Bioinformatician 2.0
Pierre Lindenbaum
Analyzing Exome Data with KNIME
Analyzing Exome Data with KNIME
Pierre Lindenbaum
NOTCH2 backstage
NOTCH2 backstage
Pierre Lindenbaum
Bioinfo tweets
Bioinfo tweets
Pierre Lindenbaum
Post doctoriales 2011
Post doctoriales 2011
Pierre Lindenbaum
20110114 Next Generation Sequencing Course
20110114 Next Generation Sequencing Course
Pierre Lindenbaum
More from Pierre Lindenbaum
(20)
Next Generation Sequencing file Formats ( 2017 )
Next Generation Sequencing file Formats ( 2017 )
Introduction to Linux
Introduction to Linux
Mum, I 3D printed a gel comb !
Mum, I 3D printed a gel comb !
"Mon make à moi", (tout sauf Galaxy)
"Mon make à moi", (tout sauf Galaxy)
Advanced NCBI
Advanced NCBI
File formats for Next Generation Sequencing
File formats for Next Generation Sequencing
Building a Simple LIMS with the Eclipse Modeling Framework (EMF) ,my notebook
Building a Simple LIMS with the Eclipse Modeling Framework (EMF) ,my notebook
Make
Make
XML for bioinformatics
XML for bioinformatics
20120423.NGS.Rennes
20120423.NGS.Rennes
Sketching 20120412
Sketching 20120412
Biostar17037
Biostar17037
Tweeting for the BioStar Paper
Tweeting for the BioStar Paper
Variation Toolkit
Variation Toolkit
Bioinformatician 2.0
Bioinformatician 2.0
Analyzing Exome Data with KNIME
Analyzing Exome Data with KNIME
NOTCH2 backstage
NOTCH2 backstage
Bioinfo tweets
Bioinfo tweets
Post doctoriales 2011
Post doctoriales 2011
20110114 Next Generation Sequencing Course
20110114 Next Generation Sequencing Course
Recently uploaded
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Lorenzo Miniero
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
null - The Open Security Community
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Alex Barbosa Coqueiro
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
jimielynbastida
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
BookNet Canada
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
ngoud9212
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
The Digital Insurer
Key Features Of Token Development (1).pptx
Key Features Of Token Development (1).pptx
LBM Solutions
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
null - The Open Security Community
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Memoori
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
shyamraj55
costume and set research powerpoint presentation
costume and set research powerpoint presentation
phoebematthew05
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Dubai Multi Commodity Centre
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
comworks
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
Pixlogix Infotech
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
Softradix Technologies
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Miki Katsuragi
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
Scott Keck-Warren
Recently uploaded
(20)
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
Key Features Of Token Development (1).pptx
Key Features Of Token Development (1).pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
costume and set research powerpoint presentation
costume and set research powerpoint presentation
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
Introduction to mongodb for bioinformatics
1.
A short introduction
to MongoDB For Bioinformatics Pierre Lindenbaum PhD UMR915 – Institut du thorax Nantes, France @yokofakun http://plindenbaum.blogspot.com
2.
http://www.mongodb.org/
3.
Document Oriented Database
4.
http://bytesforlunch.wordpress.com/2011/01/26/meet-an-agile-friend-from-the-nosql-ecosystem-mongodb-part-one/
5.
6.
null
7.
true
8.
42
9.
“ chr22”
10.
[ “rs25”,null,42]
11.
{ “ name”:“rs25”,
“ chrom”:”chr22”, “ position”:1234 }
12.
{ “ name”:“rs25”,
“ chrom”:”chr22”, “ position”:1234, “ comments:[ “ hello”, { “ lang”:”fr”, ” msg”:”Bonjour” } ] }
13.
Pubmed http://plindenbaum.blogspot.com/2010/09/mongodb-and-ncbi-pubmed-inserting.html
14.
article={ _id :
20665232, pmid: 20665232, created: { year: 2010, month: 8, day: 10 }, title: "Charles Darwin's beagle voyage...", issue: "2", volume: "43", pgn: "363-99", journal: { title: "Journal of the history of biology", abbr: "J Hist Biol", issn: "0022-5010" }, doi: "10.1007/s10739-009-9189-9", lang: "eng", authors: [ { firstName: "Paul D", lastName: "Brinkman" } ], mesh: [ "Animals", "Fossils", "History, 19th Century", "Natural History", "Phylogeny", "Vertebrates" ] }; article=db.articles.save(article);
15.
db.articles.ensureIndex({pmid:1}, {unique: true});
db.articles.ensureIndex({created:1}); db.articles.ensureIndex({authors:1}); db.articles.ensureIndex({mesh:1}); db.articles.ensureIndex({journal:1}); Indexes
16.
Retrieving Records >
db.articles.find().limit(3).forEach(printjson); { "_id" : 20665232, "pmid" : 20665232, "created" : { "year" : 2010, "month" : 8, "day" : 10 }, "title" : "Charles Darwin's beagle voyage, fossil vertebrate succession, and amp;quot;the gradual birth & death of speciesamp;quot;.", "issue" : "2", "volume" : "43", "pgn" : "363-99", "journal" : { "title" : "Journal of the history of biology", "abbr" : "J Hist Biol", "issn" : "0022-5010" }, (...)
17.
Count > db.articles.find().limit(20).count();
327 > db.articles.find().limit(20).size(); 20
18.
Get by pmid
> db.articles.findOne({pmid:20180452}); { "_id" : 20180452, "pmid" : 20180452, "created" : { "year" : 2010, "month" : 2, "day" : 25 }, "title" : "[Darwin's hidden feeling for emotions of the species]", "issue" : "50-51", "volume" : "106", "pgn" : "3443-6",
19.
Find “Lactose Intolerance[MESH]”
> db.articles.find( {mesh:'Lactose Intolerance'} ).forEach(printjson); { "_id" : 17575947, "pmid" : 17575947, "created" : { "year" : 2007, "month" : 6, "day" : 19 }, "title" : "Darwin's illness: a final diagnosis.", "issue" : "1", "volume" : "61", "pgn" : "23-9", "journal" : { "title" : "Notes and records of the Royal Society of London", "abbr" : "Notes Rec R Soc Lond", "issn" : "0035-9149" }, "lang" : "eng", "authors"
20.
FIND 'Evolution' AND
'Religion' AND 'History, 19th Century' >db.articles.find( { mesh:{$all:["Evolution","History, 19th Century","Religion"]}} ).limit(2).forEach(printjson); { "_id" : 20503821, "pmid" : 20503821, "created" : { "year" : 2010, "month" : 5, "day" : 27 }, "title" : "Darwin and the popularization of evolution.", "issue" : "1", "volume" : "64", "pgn" : "5-24", "journal" : { "title" : "Notes and records of the Royal Society of London", "abbr" : "Notes Re...
21.
Search all, only
return the title and the pmid, limit 5 > db.articles.find({},{"title":1,"pmid":1}).limit(5).forEach(printjson); { "_id" : 20665232, "pmid" : 20665232, "title" : "Charles Darwin's beagle voyage, fossil vertebrate succession, and amp;quot;the gradual birth & death of speciesamp;quot;." }, { "_id" : 20626121, "pmid" : 20626121, "title" : "[The biomedical legacy of Charles Darwin]" }, { "_id" : 20503821, "pmid" : 20503821, "title" : "Darwin and the popularization of evolution." }
22.
Using javascript $where:
articles starting with 'DARWIN' > db.articles.find( {$where:"this.title.substr(0,6)==amp;quot;DARWINamp;quot;"},{title:1} ).limit(5).forEach(printjson); { "_id" : 14341734, "title" : "DARWIN AS THE SOURCE OF FREUD'S NEO-LAMARCKIANISM." } { "_id" : 14275525, "title" : "DARWIN'S ILLNESS." } { "_id" : 14248443, "title" : "DARWIN'S HEALTH IN RELATION TO HIS VOYAGE TO SOUTH AMERICA." } { "_id" : 14217140, "title" : "DARWIN'S ILLNESS." }
23.
GROUP operator: the
number of articles per journal having mesh='Evolution' and having a number of articles greater than 2 > db.articles.group( { key: { }, cond: { mesh: "Evolution" }, initial: { journal: { }, total: 0 }, reduce: function(object, aggregate){ varcount=aggregate.journal[ object.journal.title ];if(!count){ count=0; }count++;aggregate.journal[ object.journal.title ]=count;aggregate.total++; }, finalize: function(aggregate){ for(jinaggregate.journal){ if(aggregate.journal[ j ]<3){ deleteaggregate.journal[ j ]; } } } }) [ { "journal" : { "Comptes rendus biologies" : 5, "Läkartidningen" : 6 (...)
24.
Update(criteria, objNew, upsert,
multi ) > db.articles.update( {"journal.title":"Nature"}, {$unset:{title:1,authors:1,created:1,mesh:1}},false,true)
25.
AYE
Download now