PHP Doku:: Drops a collection [deprecated] - mongodb.dropcollection.html

Verlauf / Chronik / History: (3) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische DatenbankerweiterungenMongoDB Native DriverCore ClassesThe MongoDB classMongoDB::dropCollection

Ein Service von Reinhard Neidl - Webprogrammierung.

The MongoDB class

<<MongoDB::drop

MongoDB::execute>>

MongoDB::dropCollection

(PECL mongo >=0.9.0)

MongoDB::dropCollectionDrops a collection [deprecated]

Beschreibung

public array MongoDB::dropCollection ( mixed $coll )
Warnung

Deprecated

Use MongoCollection::drop() instead.

This function leaks memory in version 1.0.7 and earlier!

Parameter-Liste

coll

MongoCollection or name of collection to drop.

Rückgabewerte

Returns the database response.


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",...)