google cloud datastore - App Engine - ReferenceProperty and custom indexes -
this follow-up question drew sears' answer discussion:
app engine datastore - data model question
if model bucket reference property in object kind , want query objects in bucket 1234 size > 1000. query "where bucket = key('bucket', 1234) , size > 1000".
i'm assuming require custom index on bucket , size properties. assumption wrong? if not, model #2 in original question (dynamic kinds) way make work automatic indexes? hope there's way.
thanks, keyur
you're correct: require custom index. dynamic kinds 1 way around - though kludgy 1 - there may others. can tell more structure of these entities, kinds of properties users can declare, , valid queries on properties?
Comments
Post a Comment