Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

fix typo 'has' -> 'hash' #922

Merged
merged 1 commit into from

2 participants

Jim Tittsler Christian Amor Kvalheim
Jim Tittsler

No description provided.

Christian Amor Kvalheim christkv merged commit 1945a0f into from
Jim Tittsler jimt deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 27, 2013
  1. Jim Tittsler

    fix typo 'has' -> 'hash'

    jimt authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/articles/MongoClient.md
2  docs/articles/MongoClient.md
View
@@ -178,7 +178,7 @@ The url format can be used with MongoClient.connect. Where possible MongoClient
Notice that when connecting to the sharded system it's pretty much the same url as for connecting to the replicaset. This is because the driver itself figures out if it's a replicaset or a set of Mongos proxies it's connecting to. No special care is needed to specify if it's one or the other. This is in contrast to having to use the **ReplSet** or **Mongos** instances when using the **open** command.
## MongoClient.connect options
-The connect function also takes a hash of options divided into db/server/replset/mongos allowing you to tweak options not directly supported by the unified url string format. To use these options you do pass in a has like this.
+The connect function also takes a hash of options divided into db/server/replset/mongos allowing you to tweak options not directly supported by the unified url string format. To use these options you do pass in a hash like this:
var MongoClient = require('mongodb').MongoClient;
Something went wrong with that request. Please try again.