unfortunately Essential SQLA is sorely out of date, save() was moved to add() 
around the time of late 0.4 and in 0.6 we've removed the old save().

On Jun 16, 2010, at 9:31 AM, Aref wrote:

> Hello,
> I am learning sqlalchemy and been reading and working through the
> examples/tutorials in Copeland's "Essential SQLAlchemy".
> I am running sqlalchemy 0.6.1 and python2.5
> I am running into a problem when trying to save a session using save.
> 
> session.save(newuser)
> 
> for example. I get an error saying that 'Session' has no attribute
> 'save'.
> 
> I amde sure that the module sqlachemy.orm is imported. Is this
> attribute really missing, has it been replaced or is there anything
> that I am missing?
> Thanks in advance for any insight that you can offer.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To post to this group, send email to sqlalch...@googlegroups.com.
> To unsubscribe from this group, send email to 
> sqlalchemy+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/sqlalchemy?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to