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.
1 parent bde40f9 commit 1e1a129Copy full SHA for 1e1a129
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