|
The MongoDB\Driver\WriteConcern classIntroduction
MongoDB\Driver\WriteConcern describes the level of
acknowledgement requested from MongoDB for write operations to a standalone
Class synopsisMongoDB\Driver\WriteConcern
final
class MongoDB\Driver\WriteConcern
implements
MongoDB\BSON\Serializable, Serializable {
/* Constants */
const
string
MongoDB\Driver\WriteConcern::MAJORITY = "majority";
/* Properties */
public
readonly
stringintnull
$w;
public
readonly
boolnull
$j;
public
readonly
int
$wtimeout;
/* Methods */
final public stdClass bsonSerialize()
final public __construct(stringint
$w, intnull $wtimeout = null, boolnull $journal = null)final public boolnull getJournal()
final public stringintnull getW()
final public int getWtimeout()
final public bool isDefault()
}Properties
Predefined Constants
Changelog
|