nosql.multiTypedID property
Specifies whether the Db2® JSON API enables the support of the _id field to be of different types for different documents in the same collection.
Description
To enable different _id types per collection, the nosql.multiTypedID property needs to be set in the nosql.properties file. Existing collections that are created with versions of Db2 JSON API 10.5 fp3 or earlier can coexist with new collections with mixed-typed _id support.
Values
- nosql.multiTypedID True | False
- Specifies whether the Db2 JSON API enables different _id types in a collection. False is the default.
Example
To set the Db2 JSON API to accept different _id types in a collection, set the following
property:
nosql.multiTypedID=true