|
MongoCursor::setFlagSets arbitrary flags in case there is no method available the specific flag Beschreibung
public MongoCursor MongoCursor::setFlag
( int
$flag
[, bool $set = true
] )The MongoCursor class has several methods for setting flags on the query object. This method is available in case the MongoDB wire protocol has acquired a new flag, and the driver has not been updated with a method for this new flag. In all other cases, the method should be used. See the "See also" section for available methods. Parameter-Liste
RückgabewerteReturns this cursor. Fehler/ExceptionsShows a warning when an unsupport flag is attempted to be set. Changelog
BeispieleBeispiel #1 MongoCursor::setFlag example
<?phpSiehe auch
|