[Backlogmanager] [FIWARE-JIRA] (HELP-15708) [fiware-stackoverflow] Fiware Orion string query

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Wed Apr 24 08:57:00 CEST 2019


     [ https://jira.fiware.org/browse/HELP-15708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez updated HELP-15708:
----------------------------------
    Description: 
Created question in FIWARE Q/A platform on 16-04-2019 at 12:04
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/55705683/fiware-orion-string-query


+Question:+
Fiware Orion string query

+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.


  was:

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


+Question:+
Fiware Orion string query

+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.


     HD-Enabler: Orion

> [fiware-stackoverflow] Fiware Orion string query
> ------------------------------------------------
>
>                 Key: HELP-15708
>                 URL: https://jira.fiware.org/browse/HELP-15708
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Backlog Manager
>              Labels: fiware, fiware-orion
>
> Created question in FIWARE Q/A platform on 16-04-2019 at 12:04
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/55705683/fiware-orion-string-query
> +Question:+
> Fiware Orion string query
> +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.



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy