hi there, i'm trying to construct a query using the or_ function as follows,
>>> or_(model.Sample.name == 'dddd') Traceback (most recent call last): File "<console>", line 1, in ? AttributeError: type object 'Sample' has no attribute 'name' however when i instantiate an unrelated instance this now works, >>> foo = model.Sample() >>> or_(model.Sample.name == 'dddd') <sqlalchemy.sql.expression._BinaryExpression object at 0xb71661ac> is this the intended behaviour of the orm objects? regards, brendan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---