How would you store a table of numbers in the datastore?

| 4 | 2 | 9 |
--------------
| 1 | 5 | 7 |
--------------
| 6 | 8 | 3 |
--------------

My instinct would be something like [[4, 2, 9], [1, 5, 7], [6, 8, 3]],
but in the datastore docs it very plainly states that a ListProperty's
"item_type must be one of the datastore value types, and cannot be
list."

Ideally, this should be stored as one property.  Different entities
have different sizes, so it's not appropriate in my situation to have
a new property for each row.  I suppose I could store them as a single
ListProperty of floats, although that makes the breaks between rows
less explicit.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to