MongoDB
PHP Manual

MongoDB::execute

()

MongoDB::executeRuns 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
PHP Manual