config error

This commit is contained in:
Göran Heinemann 2020-06-23 15:58:29 +02:00
parent 714864cdbc
commit d8c07e28a0
No known key found for this signature in database
GPG Key ID: C1364F3F5BA12A09

View File

@ -33,7 +33,7 @@ $connectionOptions = array(
ConnectionOptions::OPTION_CREATE => true, ConnectionOptions::OPTION_CREATE => true,
// optionally create new collections when inserting documents // optionally create new collections when inserting documents
ConnectionOptions::OPTION_UPDATE_POLICY => UpdatePolicy::LAST, ConnectionOptions::OPTION_UPDATE_POLICY => UpdatePolicy::LAST,
ConnectionOptions::OPTION_DATABASE => 'database', ConnectionOptions::OPTION_DATABASE => $database,
); );
// open connection // open connection