-
Sencha User
Dynamic store model fields
Hello Everyone,
I have recently switched form using mysql as a database to mongodb. In sql, as you all know, you have fixed columns that work nicely pairing with Sencha's store models. But, mongodb allows for more flexible data sets. For instance, lets say you were creating an inventory db. You have some fields that all data sets would have, like id, description and so on. But, one data set could have only one included photo, others could have an unknown number of photos referenced for the item.
Is there a way to have a more dynamic store model that would take advantage of mongo's document structure? What is the best approach to handle unknown data sets in Sencha?
Thanks
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules