Whoops - my clipboard had an old pre-cleaned sample code in it that I pasted. Sorry about the excess lines... maybe the logging mod will be useful for some people, though?
The code is still right, just not fully cleaned up. The first Column config is the one that works around the Sqlite PK/autoincrement restriction, but doesn't work with merge() because it doesn't pick up on the fact that 'foo' already exists and the merge tries to insert it again, throwing an IntegrityError. -- 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.