MongoDB\BSON\JavascriptInterface::__toString

(mongodb >=1.3.0)

MongoDB\BSON\JavascriptInterface::__toStringReturns the JavascriptInterface's code

Description

abstract public MongoDB\BSON\JavascriptInterface::__toString(): string

This method is an alias of: MongoDB\BSON\JavascriptInterface::getCode().

Parameters

This function has no parameters.

Return Values

Returns the JavascriptInterface's code.

See Also