I have a Foo type in my Google App Engine datastore. I’d like it to link to a series of other Foo types, call them prerequisites.
I can use the ListProperty type to make a list of simple value types but I’m not sure how to do this with references. What is the recommended approach for doing this?
There’s (currently) no
db.ReferenceListPropertyin the datastore. You can closely approximate it with adb.ListProperty(db.Key); if you need to retrieve all the referenced keys, you can do a batchdb.get()on it to retrieve all the referenced entities at once.