Upload
sethedwards
View
605
Download
1
Tags:
Embed Size (px)
Citation preview
Document-orientedSchema-freeBuilt for performanceBuilt to scale
{ :name => 'Kevin Doyle', :age => 26, :position => 'Forward', :club => 'Wolverhampton Wanderers', :goals => 7 }
Document-oriented
Schema-free
{ :name => 'Landon Donovan', :age => 28, :position => ['Forward', 'Midfielder'] :club => 'Everton', :goals => 2 }
Say goodbye to this!
rake db:migrate
Built for Performance
Supports indexingNo transaction logMemory-mapped
Built to scale
code examples...
Making a connection
Inserting a new document
Querying a collection
Queries using operators
Updates
Operators for queries
$ne$in$nin$mod$all$size$exists
Operators for Updates
$inc$set$push$pushAll$pop$pull$pullAll
....and that's not all
MongoMapperMongoid
MongoRecordMongoDoc
MongoDB & Rails
Ways to get started
Try MongoDB in a browser at http://try.mongodb.orgTry MongoDB in the the interactive shellCheck out the google group for developers, mongodb-devStop by the irc chat irc://irc.freenode.net/#mongodbBlogs, presentations, etc
My info
Twitter: SedwardBlog: http://codesnotdead.blogspot.com/
Email: SethAEdwards (at) gmail.com