+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Store internals

See an example of how JSONStore data is stored.

The key elements in this simplified example:


Example

Table 1. Contents of a store in JSONStore
_id key name age JSON
1 c carlos 99 {name: 'carlos', age: 99}
2 t time 100 {name: 'tim', age: 100}

When we search by using one of the following queries or a combination of them: {_id : 1}, {name: 'carlos'}, {age: 99}, {key: 'c'}, the returned document is {_id: 1, json: {name: 'carlos', age: 99} }.

The other internal JSONStore fields are:

Parent topic: Troubleshooting JSONStore