Skip to content

Instantly share code, notes, and snippets.

@andixurniawan
Created September 15, 2017 04:56
Show Gist options
  • Select an option

  • Save andixurniawan/95ef4a2f7edb7ab2fd87fdfc8433d77e to your computer and use it in GitHub Desktop.

Select an option

Save andixurniawan/95ef4a2f7edb7ab2fd87fdfc8433d77e to your computer and use it in GitHub Desktop.
Sample data nested query
{
"created": 1483922349000,
"price": 239000,
"retention": [{
"duration": 180,
"sold": 7,
"order": 7
},
{
"duration": 30,
"sold": 0,
"order": 0
},
{
"duration": 0,
"sold": 7,
"order": 7
}
]
}, {
"created": 1483923792000,
"price": 99000,
"retention": [{
"duration": 180,
"sold": 3,
"order": 3
},
{
"duration": 30,
"sold": 0,
"order": 0
},
{
"duration": 0,
"sold": 3,
"order": 3
}
]
}, {
"created": 1483922322000,
"price": 160500,
"retention": [{
"duration": 180,
"sold": 4,
"order": 4
},
{
"duration": 30,
"sold": 0,
"order": 0
},
{
"duration": 0,
"sold": 4,
"order": 4
}
]
}
@andixurniawan
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment