Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

How to set default database Mongodb in phalcon

Hi all I use mongodb store data, but configuration (mysql ->mongodb) not running.How to

      $config = new Phalcon\Config(array(
          "database" => array(
                  "adapter" => "Mongodb",
                  "host" => "localhost",
                  "username" => "scott",
                  "password" => "cheetah",
                  "dbname" => "test_db"
         ................//
       ));


33.1k