MongoDB::dropCollection
MongoDB::getCursorInfo
MongoDB
PHP Manual

# MongoDB::execute

()

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

### Opis

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

### Parametry

`code`

  MongoCode or string to execute.

`args`

  Arguments to be passed to code.

### Zwracane wartości

Returns the result of the evaluation.

MongoDB::dropCollection
MongoDB::getCursorInfo
MongoDB
PHP Manual