PHP 클래스 Phalcon\Db\Adapter\MongoDB\Operation\Delete
This class is used internally by the DeleteMany and DeleteOne operation
classes.
파일 보기
프로젝트 열기: phalcon/incubator
공개 메소드들
메소드 상세
Supported options:
* writeConcern (MongoDB\Driver\WriteConcern): Write concern.
public __construct ( string $databaseName, string $collectionName, array | object $filter, integer $limit, array $options = [] ) |
$databaseName |
string |
Database name |
$collectionName |
string |
Collection name |
$filter |
array | object |
Query by which to delete documents |
$limit |
integer |
The number of matching documents to
delete. Must be 0 or 1, for all or a
single document, respectively. |
$options |
array |
Command options |
public execute ( MongoDB\Driver\Server $server ) : DeleteResult |
$server |
MongoDB\Driver\Server |
|
리턴 |
Phalcon\Db\Adapter\MongoDB\DeleteResult |
|