Hello,
As I understand, if a field is not defined as required, if it's
missing during the instantiation call of an Entity subclass, then for
that particular relation the field will be a NULL in the data base.
My question is how could I make the Class intelligently figure out
what data I am passing and what not during instantiation, so I don't
have to explicitly write code for missing or not missing data. Ideally
what I would like to do, is pass just a dictionary that is of the form
{ 'field_name':field_data }, and let the class figure what goes where
and what is missing.
Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---