On Sep 8, 3:47 am, "King Simon-NFHD78" <[email protected]> wrote: > Automatically adding objects to a session when they are created is a > feature of Session.mapper (rather than the plain orm.mapper function), > and is deprecated. If you use the plain mapper function, all "root" > objects that you create will have to be explicitly added to a session. > ("related" objects will normally be added by default)
That makes sense to me. > Session.mapper also included a couple of extra features (the 'query' > property and a default __init__) which you can recreate yourself using > the examples at > <http://www.sqlalchemy.org/trac/wiki/UsageRecipes/SessionAwareMapper> Trouble is I am using elixir, so I'm not sure I can change this behavior. Thanks Simon, -Dan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" 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/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
