$mod can't use 11 digit as divisor

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      i have some date like

      /* 1 */
      {
          "_id" : NumberLong("110000000000"),
          "name" : "beijing"
      },
      
      /* 2 */
      {
          "_id" : NumberLong("120000000000"),
          "name" : "tianjing"
      },
      
      /* 3 */
      {
          "_id" : NumberLong("130000000000"),
          "name" : "hebei"
      },
      

      but use 11 digit as divisor return None

      db.collection.find({'_id':{$mod: [10000000000,0]}})

      Document have nothing about this

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            ider
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: