lithium\data\source\MongoDb::connect()

public method

Connections are created lazily on read/write queries so this method is not applicable.

Returns

boolean

Returns true.

Source

	public function connect() {
		$manager = $this->_classes['manager'];

		$this->manager = new $manager(
			$this->_config['dsn'],
			$this->_config['uriOptions'],
			$this->_config['driverOptions']
		);

		return $this->_isConnected = true;
	}