Hello

I have the following code in my pylons app:

refugee = Refugee(value, geometry)
model.Session.save(refugee)
model.Session.commit()

Refugee is the class mapped to my Table object (refugees_table).
geometry is an instance of a custom type, for which I created a
Geometry(TypeEngine) class.

In commit(), SQLAlchemy compares the geometry object to some other
geometry object (yes, my Geometry class defines the compare_values
method). I'd just like to know what object my geometry object is
compared to? I'm just saving a new object in the db table so why
there's a need to compare it to something else?

I know this is a weird question, but I have other problems that are
the consequences of this object comparison, so I'm trying to
understand what it is going on in SQLAlchemy.

Thanks,

--
Eric

--~--~---------~--~----~------------~-------~--~----~
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 PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to