MongoCode::__toStringReturns this code as a string
Beschreibung
public string MongoCode::__toString
( void
)
Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteThis code, the scope is not returned. BeispieleBeispiel #1 MongoCode::__toString example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
return x;
function() { for(i=0;i<10;i++) { db.foo.update({x:i}, {x:i+1}); } }
|