Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-15709

FIWARE.Question.Tech.FIWARE Orion string query and dates.

    Details

      Description

      Created question in FIWARE Q/A platform on 16-04-2019 at 12:04
      Please, ANSWER this question AT https://stackoverflow.com/questions/55705683/fiware-orion-string-query-and-dates

      Question:
      FIWARE Orion string query and dates

      Description:
      I have a question regarding queries, I am working on FIWARE Orion instance where the date is stored as a string:

      "date": {
      "type": "String",
      "value": "2019-01-02T00:00:00.0000Z",
      "metadata": {}
      }

      I have checked documentation about queries (most interest in < >)

      This operation is only valid for target properties of type date, number or string (used with target properties of other types may lead to unpredictable results).

      But it is not possible for me to for example to use this query:

      q=date<2020-04-13T00:00:00.0000Z
      q=date<2020-04-13

      My question is this possible if it is then what I am doing wrong here. If not then I will have to find an alternative way of getting this query to work.

      Thanks.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2019-04-16 21:06|CREATED monitor | # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-04-16 21:06|CREATED monitor | # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-04-17 00:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-04-17 00:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-04-17 03:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-04-17 03:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-04-18 18:06|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2019-04-18 18:06|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            backlogmanager Backlog Manager
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: