Search code examples
google-app-enginegoogle-cloud-datastorebloblistproperty

is there a blob data type for a list property?


Does anyone know if there is a blob data type I can use for GAE's datastore list property?
I want to create the following entry that contains a list of blobs in the datastore, but I get errors.

class DataRecord(db.Model)
     data = db.ListProperty(blob)

Solution

  • You can create a list property of db.Key or db.Blob instead

    data = db.ListProperty(db.Blob)