PHP Doku:: Gets a database - mongo.selectdb.html

Verlauf / Chronik / History: (3) anzeigen

Sie sind hier:
Doku-Startseite ≥ PHP-Handbuch ≥ Funktionsreferenz ≥ Datenbankerweiterungen ≥ Anbieterspezifische Datenbankerweiterungen ≥ MongoDB Native Driver ≥ Core Classes ≥ The Mongo class ≥ Mongo::selectDB

Ein Service von Reinhard Neidl - Webprogrammierung.

The Mongo class

<<Mongo::selectCollection()

Mongo::setSlaveOkay>>

Mongo::selectDB

(PECL mongo >=0.9.0)

Mongo::selectDB — Gets a database

Beschreibung

public MongoDB Mongo::selectDB ( string $name )

Parameter-Liste

name

The database name.

Rückgabewerte

Returns a new db object.

Fehler/Exceptions

Throws InvalidArgumentException if the database name is invalid.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)