> db.yy.update(
{z:3},{$bit:{y:
{or:new NumberLong(8)}}},true)
> db.yy.find()
> // nothing
> db.yy.update(
{z:3},{$inc:{y:NumberLong(33)}},true)
> db.yy.find()
- related to
-
SERVER-3046 $bit update modifier doesn't work when field does not exist
- Closed