Versions Compared

Key

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

...

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

    • rangeFlow

      • You can set rangFlow in two ways start and end If rangeFlow: start then the start date is 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 rangeFlow: end then the end date is required

        For Example

        rangeFlow as from and till

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

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

          End will return previous records and the start will return the next
          • current day and next day record

      • You can set the startDate and endDate which is optional if you are given the startDate and endDate then it will return records according to the given

        periodUnit and periodCount

        startDate and endDate otherwise it considers the current date as startDate or endDate

startDate and endDate in During Operator

  • You can set the startDate and endDate conditions for during operator if the valueType is custom

    • 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

...