MongoDB\BSON\JavascriptInterface::__toString

Returns the JavascriptInterface's code

Description

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

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

  • MongoDB\BSON\JavascriptInterface::getCode
  • MongoDB\BSON\Javascript::__toString