You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Jeffrey (JIRA)" <ji...@apache.org> on 2015/12/03 03:21:11 UTC

[jira] [Created] (USERGRID-1171) [IRT] Test that entities with arrays of objects which have arrays have the nested array indexed

Jeffrey  created USERGRID-1171:
----------------------------------

             Summary: [IRT] Test that entities with arrays of objects which have arrays have the nested array indexed
                 Key: USERGRID-1171
                 URL: https://issues.apache.org/jira/browse/USERGRID-1171
             Project: Usergrid
          Issue Type: Story
            Reporter: Jeffrey 


Examples:

select * where myObjectArray.nestedArray='red'

This one is different and important not to skip.  We had a bug on this one!  Where the object only had one attribute which was an array - these were not getting indexed.

select * where myObjectArray.onlyAnArrayInObject='green'

{
  "myObjectArray": [
    {
      "name": "one",
      "nestedArray": [
        "red",
        "green",
        "blue"
      ]
    },
    {
      "onlyAnArrayInObject": [
        "yellow",
        "purple",
        "green"
      ]
    }
  ]
}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)