PHP » GoLang |
login |
register |
about
|
GoLang MongoDB\BSON\Javascript::__toString
request it (397)
GoLang replacement for PHP's MongoDB\BSON\Javascript::__toString
[edit | history]
PHP MongoDB\BSON\Javascript::__toStringPHP original manual for MongoDB\BSON\Javascript::__toString [ show | php.net ]MongoDB\BSON\Javascript::__toString(mongodb >=1.2.0) MongoDB\BSON\Javascript::__toString — Returns the Javascript's code Description
final public string MongoDB\BSON\Javascript::__toString
( void
)
This method is an alias of: MongoDB\BSON\Javascript::getCode(). ParametersThis function has no parameters. Return ValuesReturns the Javascript's code. Errors/Exceptions
ExamplesExample #1 MongoDB\BSON\Javascript::__toString() example
<?php The above example will output: string(33) "function foo(bar) { return bar; }" See Also
|
more
Recently updated
more
Most requested
more
Last requests
|