com presentations: Fixed the query.: slides/mongodb/idx-covered.xml

From: Date: Wed, 20 Jun 2012 11:19:28 +0000
Subject: com presentations: Fixed the query.: slides/mongodb/idx-covered.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1824@lists.php.net to get a copy of this message
Commit: d91ea44cfe2821946523fd698f6fb2cdc1e20727 Author: Derick Rethans <github@derickrethans.nl> Wed, 20 Jun 2012 12:19:28 +0100 Parents: 5ae97fd8d90ac64dffa954d7f10096b06e8a8d7b Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=d91ea44cfe2821946523fd698f6fb2cdc1e20727 Log: Fixed the query. Changed paths: M slides/mongodb/idx-covered.xml Diff: diff --git a/slides/mongodb/idx-covered.xml b/slides/mongodb/idx-covered.xml index 31f8eb1..baead0c 100644 --- a/slides/mongodb/idx-covered.xml +++ b/slides/mongodb/idx-covered.xml @@ -6,7 +6,7 @@ <example inline="1"> db.cities.ensureIndex( { country_code: 1, name: 1 } ); db.cities.find( - { country_code: 1 }, *{ country_code: 1, name: 1, _id: 0 }* + { country_code: 'NL' }, *{ country_code: 1, name: 1, _id: 0 }* ).explain(); </example>

« previous php.pres (#1824) next »