Hello Michael,

When I do:

    cities = session.query(City).all()
    session.delete(cities)

I get:

sqlalchemy.orm.exc.UnmappedInstanceError: Class '__builtin__.list' is not mapped

Unless it's some sort of a problem, it would be nifty of SQLAlchemy to be able to add/delete in a session a list of SQA-mapped objects: from the POV of a noob like me just using this engine as a sort of 'black box' it would be rather logical.

Regards,
mk

--
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