MongoCode::__toStringReturns 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
<?php The above example will output something similar to: return x; function() { for(i=0;i<10;i++) { db.foo.update({x:i}, {x:i+1}); } } |