OSCON 2009 Lightning Talk
Upcoming SlideShare
Loading in...5
×
 

OSCON 2009 Lightning Talk

on

  • 2,161 views

 

Statistics

Views

Total Views
2,161
Views on SlideShare
2,160
Embed Views
1

Actions

Likes
1
Downloads
32
Comments
0

1 Embed 1

http://www.slideshare.net 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

OSCON 2009 Lightning Talk OSCON 2009 Lightning Talk Presentation Transcript

  • Kristina Chodorow OSCON 2009
  • collection
  • database logs eaters fruit pie
  • name : Burt home : Kenya born : Date(“2 years ago”) price : 29.99 color : black fromTheSixties : true
  • captain : “Kirk” ship : “NCC 1701” stardate : 2634.3 space.star.trek.save(obj)
  • Querying db.star.trek.find({stardate : {$gt : 1234.0}, $where : function(obj) { illogicalFunc = function() {/*…*/}; if (illogicalFunc(obj.spock)) { /* … */ } else { /* … */ } }})
  • Indexes • Ascending/Descending • Single/Multiple Key • Unique/Non-unique
  • Getting It $ curl -O http://downloads.mongodb.org/linux/mongodb- linux-i686-latest.tgz $ tar zxvf http://downloads.mongodb.org/linux/mongodb- linux-i686-latest.tgz $ mkdir ~/db $ mongodb-linux-i686-latest/bin/mongod –- dbpath ~/db www..mongodb.org/display/DOCS/Downloads
  • JavaScript Shell $ mongodb-linux-i686- latest/bin/mongo url: test connecting to: test type “help” for help >
  • http://www.mongodb.org Google Groups: mongodb-user irc.freenode.net#mongodb @mongodb, @kchodorow kristina@10gen.com http://www.slideshare.net/kchodorow