PHP Doku:: Creates a new collection - mongocollection.construct.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische DatenbankerweiterungenMongoDB Native DriverCore ClassesThe MongoCollection classMongoCollection::__construct

Ein Service von Reinhard Neidl - Webprogrammierung.

The MongoCollection class

<<MongoCollection::batchInsert

MongoCollection::count>>

MongoCollection::__construct

(PECL mongo >=0.9.0)

MongoCollection::__constructCreates a new collection

Beschreibung

public MongoCollection::__construct ( MongoDB $db , string $name )

Parameter-Liste

MongoDB db

Parent database.

name

Name for this collection.

Rückgabewerte

Returns a new collection object.

Fehler/Exceptions

Throws default exception if the collection 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",...)