Thanks Michael. The classmethod code worked a treat.
I see merge() has changed in the new release of SA. Does this affect
the solution?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to
On Mar 31, 2008, at 12:02 PM, pyplexed wrote:
The continuing adventures of a newbie SA user...
Could anyone tell me if there is a simple way of setting up a query
which takes an object as an argument and checks for the existence of
an object in the database?
by primary key
The continuing adventures of a newbie SA user...
Could anyone tell me if there is a simple way of setting up a query
which takes an object as an argument and checks for the existence of
an object in the database?
I know I can construct a query hard coding attributes to filter on,
but I'm sure
That's fixed it. Thanks very much.
On Mar 26, 7:03 pm, Michael Bayer [EMAIL PROTECTED] wrote:
On Mar 26, 2008, at 1:34 PM, pyplexed wrote:
Hi all,
I'm a complete newcomer to SA, and I've tried to adapt an example I
found on-line to look a bit more like the problem I'm trying