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 9d142d4

Browse filesBrowse files
committed
Merge branch '4.4' into 5.2
* 4.4: #42229 update phpdoc to recommend createIndex over ensureIndex
2 parents 96f2733 + dad83ee commit 9d142d4
Copy full SHA for 9d142d4

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

‎session/database.rst

Copy file name to clipboardExpand all lines: session/database.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ performance. Run this from the `MongoDB shell`_:
549549
.. code-block:: javascript
550550
551551
use session_db
552-
db.session.ensureIndex( { "expires_at": 1 }, { expireAfterSeconds: 0 } )
552+
db.session.createIndex( { "expires_at": 1 }, { expireAfterSeconds: 0 } )
553553
554554
Configuring the Session Field Names
555555
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

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