MongoDB::dropCollection
MongoDB::getCursorInfo
MongoDB
PHP Manual

# MongoDB::execute

()

MongoDB::execute — Runs JavaScript code on the database server.

### Descrição

public array MongoDB::execute ( mixed `$code` [, array `$args`= array() ] )

### Parâmetros

`code`

  MongoCode or string to execute.

`args`

  Arguments to be passed to code.

### Valor Retornado

Returns the result of the evaluation.

MongoDB::dropCollection
MongoDB::getCursorInfo
MongoDB
PHP Manual