略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: MongoDB::dropCollection

2024-11-13

MongoDB::dropCollection

(PECL mongo >=0.9.0)

MongoDB::dropCollectionDrops a collection [deprecated]

说明

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

Deprecated

Use MongoCollection::drop() instead.

This function leaks memory in version 1.0.7 and earlier!

参数

coll

MongoCollection or name of collection to drop.

返回值

Returns the database response.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/mongodb.dropcollection.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3