Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • If the period is custom, then rangeFlow, startDate, and endDate should be required

    • rangeFlow

      • You can set rangFlow in two ways start and end

      • If you can set rangeFlow as a start then the start date should be required

        • For Example: {periodUnit: days, periodCount: 1, rangeFlow: “start”, startDate: 2023-06-22}

          • It will return the record which starts from 2023-06-22 and ends after one day

      • If you can set rangeFlow as a end then the end date should be required

        • For Example: {periodUnit: days, periodCount: 1, rangeFlow: “end”, endDate: 2023-06-22}

          • It will return the record which starts from 2023-06-22 and ends before one day

        • Since the end will return previous records and the start will return the next records according to the given periodUnit and periodCount

startDate and endDate

  • You can set the startDate and endDate conditions in during operator

    • For Example: condition: startDate: "2023-06-02" and endDate: "2023-06-19"}

    • It will return the records from 2023-06-02 to 2023-06-19.

  • The start date is always less than the end date