Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1029

Comment on: "reference/operator/bit.txt" - doesn't show bit or

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      Sample bit or:

      db.user.update({}, { $bit: { field: { or: 64 }}});

      P.S. It appears that there are no other bit operators as of commit be68b1d0ec3eab8d35992153565f43e90fc0d6cd.

      Attachments

        Activity

          People

            Unassigned Unassigned
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 4 weeks, 1 day ago