google cloud datastore - can specific elements within an array be excluded from indexes? -
i'm working on storing json documents on google cloud datastore using nodejs client library , working on adding indexes needed. far have excluded json properties indexes:
{ "name": "partition", "value": "02", "excludefromindexes": true }
and entire arrays:
{ "name": "lineitems", "value": [{ "prodid": "aaaaa", "sizecode": 5, "itemid": 11111, "sizecodelongdesc": "large", "quantity": 6, "returnedquantity": 0 }, { "prodid": "ddddd", "sizecode": 5, "itemid": 22222, "sizecodelongdesc": "large", "quantity": 6, "returnedquantity": 0 }], "excludefromindexes": true }
however, i'm facing problems exclude particular field on array entries, instance, exclude itemid using example above. possible on datastore ? or entire arrays included or excluded indexes ?
thanks
Comments
Post a Comment