Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Phalcon
Db
Adapter
MongoDB
Operation
DropCollection
PHP Class Phalcon\Db\Adapter\MongoDB\Operation\DropCollection
See also:
MongoDB\Collection::drop()
See also:
MongoDB\Database::dropCollection()
See also:
http://docs.mongodb.org/manual/reference/command/drop/
Inheritance:
implements
Phalcon\Db\Adapter\MongoDB\Operation\Executable
Datei anzeigen
Open project: phalcon/incubator
Class Usage Examples
Public Methods
Method
Description
__construct
(
string
$databaseName
,
string
$collectionName
,
array
$options
= [] )
Constructs a drop command.
execute
(
MongoDB\Driver\Server
$server
) :
array
|
object
Execute the operation.
Method Details
__construct()
public
method
Supported options: * typeMap (array): Type map for BSON deserialization. This will be used for the returned command result document.
public
__construct
(
string
$databaseName
,
string
$collectionName
,
array
$options
= [] )
$databaseName
string
Database name
$collectionName
string
Collection name
$options
array
Command options
execute()
public
method
Execute the operation.
See also:
Executable::execute()
public
execute
(
MongoDB\Driver\Server
$server
) :
array
|
object
$server
MongoDB\Driver\Server
return
array
|
object
Command result document