Hello alchemists:

1. using the mapper, how is it best to delete a record?

a) You have an object that is mapped. I tried the python "del" and that didn't appear to work. objectstore.delete(obj) *did* work.

b) You don't have an object - you merely want to delete a bunch of records based on a "where".


2. Similar to 1b), how do you *update* a record or bunch of records without having to have the objects, using the mapper? (i.e, I want to use "update" with a "where")

Thanks!


David


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to