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

Comment on: "manual/reference/operator/query/where.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • manual

    Description

      I having problems with this code:

      var servicePriceProportion = 0.7;
      var serviceMaxPrice = 1000;

      CollectionX.find({
      ... other conditions,
      $where: function()

      { return (this.Data.investmentMax * servicePriceProportion < serviceMaxPrice); }

      });

      For test, I tried this too:

      $where: function()

      { return (this.Data.investmentMax != this.Data.investmentMax); }

      I asked for help, but no one can solve this problem.

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 27 weeks, 4 days ago