Skip to content

Commit 56aae06

Browse files
committed
WS
1 parent a276e33 commit 56aae06

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/crud.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ $wc = new MongoDB\WriteConcern($w, $wtimeout, $journal, $fsync);
2424
* if we can't find any secondaries */
2525
$prefer = MongoDB\ReadPreference::RP_SECONDARY_PREFERRED;
2626
$tags = array(
27-
/* Prefer the West Coast datacenter in Iceland */
28-
array("country" => "iceland", "datacenter" => "west"),
27+
/* Prefer the West Coast datacenter in Iceland */
28+
array("country" => "iceland", "datacenter" => "west"),
2929

30-
/* Fallback to any datacenter in Iceland */
31-
array("country" => "iceland"),
30+
/* Fallback to any datacenter in Iceland */
31+
array("country" => "iceland"),
3232

33-
/* If Iceland is offline, read from whatever is online! */
34-
array(),
35-
);
33+
/* If Iceland is offline, read from whatever is online! */
34+
array(),
35+
);
3636

3737
/* Construct the ReadPreference object from our options */
3838
$rp = new MongoDB\ReadPreference($prefer, $tags);

0 commit comments

Comments
 (0)