Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3498214

Browse filesBrowse files
author
Joe Bennett
committed
#42227 update phpdoc to recommend createIndex over ensureIndex
1 parent 3190775 commit 3498214
Copy full SHA for 3498214

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎components/lock.rst

Copy file name to clipboardExpand all lines: components/lock.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ Such an index can be created manually:
768768

769769
.. code-block:: javascript
770770
771-
db.lock.ensureIndex(
771+
db.lock.createIndex(
772772
{ "expires_at": 1 },
773773
{ "expireAfterSeconds": 0 }
774774
)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.