title: check the condition if the values are less then or equal or greater than MongoDB
body: <p>check the conditions</p>
  <ol>
  <li>if the <code>value</code> is greater equal 1000.</li>
  <li>if the <code>value</code> is less than equal 2000.
  from the parameters, the user will select either <code>1</code> or <code>2</code>. User get the output in the same structure but only those documents that fulfill the condition in MongoDB</li>
  </ol>
  <pre><code>{
      &quot;data&quot;: [
          {
              &quot;value&quot;: 1000
          },
          {
              &quot;value&quot;: 3000
          },
          {
              &quot;value&quot;: 1500
          }
      ]
  }
  </code></pre>