Mongo::selectDB

(PECL mongo >=0.9.0)

Mongo::selectDBGets a database

Description

public MongoDB Mongo::selectDB ( string $name )

Parameters

name

The database name.

Return Values

Returns a new db object.

Errors/Exceptions

Throws InvalidArgumentException if the database name is invalid.


Copyright © 2010-2024 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout