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 dad83ee

Browse filesBrowse files
committed
minor #15548 #42229 update phpdoc to recommend createIndex over ensureIndex (kralos)
This PR was merged into the 4.4 branch. Discussion ---------- #42229 update phpdoc to recommend createIndex over ensureIndex See symfony/symfony#42229 Commits ------- 0f1a5ff #42229 update phpdoc to recommend createIndex over ensureIndex
2 parents 68e97af + 0f1a5ff commit dad83ee
Copy full SHA for dad83ee

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
@@ -532,7 +532,7 @@ performance. Run this from the `MongoDB shell`_:
532532
.. code-block:: javascript
533533
534534
use session_db
535-
db.session.ensureIndex( { "expires_at": 1 }, { expireAfterSeconds: 0 } )
535+
db.session.createIndex( { "expires_at": 1 }, { expireAfterSeconds: 0 } )
536536
537537
Configuring the Session Field Names
538538
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

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