SQLAlchemy has Dictionary-Based Collections mapping to map a One-To-
Many relationship to a dict. I can't see how this is done in Elixir.

BTW, could someone explain the 3 strategies column_mapped_collection,
attribute_mapped_collection, mapped_collection to me?

I need to use a dict because I have an Item object which has the price
attribute. I need to store price for many days, so it would be nice if
I could do it like this:

print my_item.price[datetime.date.today()]

Thanks to you all
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" 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/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to