PrepAway - Latest Free Exam Questions & Answers

What type of data is contained in the value of the _id of a JSONStore Document?

What type of data is contained in the value of the _id of a JSONStore Document?

A. A user defined unique integer
B. A user defined alpha-numeric key
C. An automatically generated unique integer

D. An automatically generated hash-identifier

Explanation:
A JSONStore document is a JSON object with an automatically generated identifier (_id) and JSON data. It is similar to a record or a row in database terminology. The value of _id is always a unique integer inside a specific collection. Some functions like add, replace, and remove in the JSONStoreInstance class take an Array of Documents/Objects. These methods are useful to perform operations on various Documents/Objects at a time.

Reference: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/application-development/jsonstore/


Leave a Reply