Jeremy Mikola
773bc909cb
PHP-1173: Use string "majority" for WriteConcern::MAJORITY
...
The purpose is two-fold: abstract libmongo'c constant (defined as -3) from our users and ensure the string "majority" is sets the struct's "w" field properly even if our constant is not used.
2014-10-03 16:02:53 -04:00
Jeremy Mikola
c6da714829
Remove unused class properties in WriteConcern
2014-10-03 13:30:39 -04:00
Jeremy Mikola
d0d57d7313
Ensure libmongoc structs get freed in WriteBatch and WriteConcern
2014-09-23 13:17:22 -04:00
Hannes Magnusson
f23cef90ca
Implement WriteConcern
2014-07-21 22:20:05 +00:00
Hannes Magnusson
1c43114e4a
Implement readPreferences
2014-07-21 19:43:24 +00:00
Jeremy Mikola
bce0363135
Create WriteConcern value object
2014-07-17 18:18:47 -04:00