|
MongoCursor::setFlagSets arbitrary flags in case there is no method available the specific flag 説明
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. パラメータ
返り値Returns this cursor. エラー / 例外Shows a warning when an unsupport flag is attempted to be set. 変更履歴
例例1 MongoCursor::setFlag example
<?php 参考
|