Skip to content

Commit f099591

Browse files
committed
Merge branch 'master' of git://github.com/muehlburger/symfony-docs into muehlburger-master
Conflicts: cookbook/doctrine/mongodb.rst
2 parents 5ad57ae + 87ba950 commit f099591

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

cookbook/doctrine/mongodb.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,15 @@ the MongoDB ODM across your application:
8989
9090
# app/config/config.yml
9191
doctrine_mongodb:
92+
connections:
93+
default:
94+
server: mongodb://localhost:27017
95+
options:
96+
connect: true
97+
default_database: test_database
9298
document_managers:
9399
default:
94100
auto_mapping: true
95-
database: my_test_database
96-
connections:
97-
default:
98101
99102
.. note::
100103

0 commit comments

Comments
 (0)