PHP » GoLang |
login |
register |
about
|
GoLang MongoCode::__toString
request it (559)
GoLang replacement for PHP's MongoCode::__toString
[edit | history]
MongoCode::__toString(PECL mongo >= 0.8.3) MongoCode::__toString — Returns this code as a string
Description
public string MongoCode::__toString
( void
)
ParametersThis function has no parameters. Return ValuesThis code, the scope is not returned. ExamplesExample #1 MongoCode::__toString() example
<?phpThe above example will output something similar to:
return x;
function() { for(i=0;i<10;i++) { db.foo.update({x:i}, {x:i+1}); } }
|
more
Most requested
more
Last requests
|