Hi,

I have some meta-data columns in my schema. How can I make sure they
are not part of the SELECT, INSERT and UPDATE statements SQLAlchemy is
doing in the background?

I tried:


Column('lastUpdate', DateTime, DefaultClause('CURRENT_TIMESTAMP'),
nullable=False), # for Nebula's Syncer


along with


mapper(Location, locations, version_id_col=locations.c.STAMP,
exclude_properties=['lastUpdate'], properties = {
        'site': relation(Site, backref='locations'),
})


But the lastUpdate column still turns up in the SQL it is executing,
and what's worse, without using it's default value!

Would anyone please help me out?


-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
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