diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-03-16 08:48:24 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-03-16 08:48:24 -0400 |
commit | 3c454428299aa050390dc60238b724d51bd5c23e (patch) | |
tree | 86efe4b53ea8b0167c3a05c491f20569cb78524e /jstests/geo_box1.js | |
parent | c09ded578037bab3cd1d3ac6b215cda001f2c899 (diff) | |
download | mongo-3c454428299aa050390dc60238b724d51bd5c23e.tar.gz |
some test that aren't done
Diffstat (limited to 'jstests/geo_box1.js')
-rw-r--r-- | jstests/geo_box1.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/jstests/geo_box1.js b/jstests/geo_box1.js new file mode 100644 index 00000000000..20ab8882888 --- /dev/null +++ b/jstests/geo_box1.js @@ -0,0 +1,12 @@ + +t = db.geo_box1; +t.drop(); + +for ( x=0; x<=20; x++ ) + for ( y=0; y<=20; y++ ) + t.save( { loc : [ x , y ] } ) + +t.ensureIndex( { loc : "2d" } ); + + + |