com presentations: Fixed typo.: slides/mongodb/idx-geo.xml
| From: | Derick Rethans | Date: | Wed, 15 Aug 2012 15:46:39 +0000 |
| Subject: | com presentations: Fixed typo.: slides/mongodb/idx-geo.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1830@lists.php.net to get a copy of this message | ||
Commit: c46e01cef29a3704472df544a4ce19944784559c
Author: Derick Rethans <github@derickrethans.nl> Wed, 15 Aug 2012 16:46:39 +0100
Parents: 97fbd715d61d7ff8d9916198d612aa5aaad760d4
Branches: master
Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=c46e01cef29a3704472df544a4ce19944784559c
Log:
Fixed typo.
Changed paths:
M slides/mongodb/idx-geo.xml
Diff:
diff --git a/slides/mongodb/idx-geo.xml b/slides/mongodb/idx-geo.xml
index 87f0abd..192778d 100644
--- a/slides/mongodb/idx-geo.xml
+++ b/slides/mongodb/idx-geo.xml
@@ -2,7 +2,7 @@
<title>Geospatial indexes (2d indexes)</title>
<blurb>MongoDB supports indexes on two dimensional fields:</blurb>
-<example>db.cities.ensureIndex( { location: '2d } )</example>
+<example>db..cities.ensureIndex( { location: '2d' } )</example>
<example inline="1">
db.cities.find( { location: { *$near: [ -0.088, 51.489 ]* } } );