|
MongoDB\BSON\Javascript::getCodeReturns the Javascript's code Description
final public string MongoDB\BSON\Javascript::getCode()
ParametersThis function has no parameters. Return ValuesReturns the Javascript's code. Errors/Exceptions
ExamplesExample #1 MongoDB\BSON\Javascript::getCode example
The above example will output: string(33) "function foo(bar) { return bar; }" See Also |