[sqlalchemy] update_or_insert

2010-03-07 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. I have the following use case: a table that contains the layout info of some elements in a web page. The layout is fixed, that is, the number and the positions of the elements that can be displayed is fixed. This means that in order to change

[sqlalchemy] update_or_insert

2008-05-19 Thread David Novakovic
Hey, I'm using the SQL generation libs, and i'm wondering where the update_or_insert functionality is. I know at least mysql and sqlite have this functionality. I basically would like to be able to insert a new row without having to check if it exists first. Thanks David