We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a265de1 + 1e1a129 commit 1a53917Copy full SHA for 1a53917
cookbook/doctrine/mongodb_session_storage.rst
@@ -165,7 +165,7 @@ From the `MongoDB shell`_:
165
.. code-block:: sql
166
167
use session_db
168
- db.session.ensureIndex( { "expireAt": 1 }, { expireAfterSeconds: 0 } )
+ db.session.ensureIndex( { "expires_at": 1 }, { expireAfterSeconds: 0 } )
169
170
.. _installed and configured a MongoDB server: http://docs.mongodb.org/manual/installation/
171
.. _MongoDB shell: http://docs.mongodb.org/v2.2/tutorial/getting-started-with-the-mongo-shell/
0 commit comments