Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15977

Provide #ADD semantics to benchRun

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible

      Description

      h2: Enhancement

      Want to the ability to add number in order to create a range, for example

      {_id: {$gt: <RND_NUM>, $lt: <RND_NUM>+50}}
      

      This could look something like

      { op: "let", target: "x", value: {"#RAND_INT": [0,50] }},
      { op: "find", query: { _id : { $gt : { "#VARIABLE" : "x" }, 
                                                $lt : { "#ADD" : [{#VARIABLE: "x"},50 } } } }
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: