update : 2015.11.03
php.shukuma.com검색:
|
MongoDB::drop(PECL mongo >=0.9.0) MongoDB::drop — Drops this database 설명
public array MongoDB::drop
( void
)
This drops the database currently being used. This is identical to running:
<?php 인수이 함수는 인수가 없습니다. 반환값Returns the database response. 예제Example #1 MongoDB::drop() example This example demonstrates how to drop a mongo database and the response to expect.
<?php 위 예제의 출력 예시: Array ( [dropped] => foo.$cmd [ok] => 1 ) |