in sqlalchemy. Where is it defined?
Sincerely,
Hinrich Winther.
smime.p7s
Description: S/MIME cryptographic signature
Maybe there is a better way of doing it. To be exact:
I want to disassemble a given _BinaryExpression into basic elements (a
list of strings, arrays, integers ...) and reassemble it somewhere
else out of this basic elements.
On 01.04.2009, at 18:14, Michael Bayer wrote:
Hinrich
Hi,
I am using SQLAlchemy 0.5rc4.
Is there a way to test if the values of an object are valid for
commiting? I tried something like:
try:
session.commit()
except:
notify the user
But the problem is, that if the commit fails and I change the non
valid value to a valid one the
I am using SQLAlchemy 0.5rc4.
Is there a way to test if the values of an object are valid
for
commiting? I tried something like:
try:
session.commit()
except:
notify the user
But the problem is, that if the commit fails and I change the non
valid value to a valid one the
Hi,
How do I something like
myObject = session1.query(something).one()
session2.add(myObject)
without the need to expunge myObject from session1?
and another one:
How can I compare objects from different sessions to see if they
origin from the same row in the db?
Regards,
Hinrich.
Hi Michael,
Thank you so much!
It works like a charm. Damn, it is so wicked cool :)
On 23.10.2008, at 21:02, Michael Bayer wrote:
On Oct 23, 2008, at 1:32 PM, Hinrich Winther wrote:
Hi,
I have tried to implement all day now. The problem is, that the
values of the parent chartItem
in child items.
I really hate option 2. So would it be possible to somehow implement
option 1?
Regards,
Hinrich Winther.
On 22.10.2008, at 19:43, Michael Bayer wrote:
oh, ok. Here's a simplified case:
from sqlalchemy import *
from sqlalchemy.orm import *
engine = create_engine('sqlite
On 21.10.2008, at 20:22, Michael Bayer wrote:
There's a couple of odd practices here, and removing each one
individually may narrow down where things are going wrong.
1. What happens if you use the correct class, patient.op_ci_implant(),
instead of chartitem which does not match the given
you very much,
Hinrich Winther.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL