On Jul 27, 2010, at 1:23 PM, Zippy P wrote:
> Hi all,
>
> I have the following:
>
> class Device(Base):
> ...
> source_id = Column(BigInteger, primary_key=True)
> ...
>
> class EventQuery(Query):
> def custommethod():
> ...
>
> class Event(Base):
> __tablename__ = 'events'
> query
Hi all,
I have the following:
class Device(Base):
...
source_id = Column(BigInteger, primary_key=True)
...
class EventQuery(Query):
def custommethod():
...
class Event(Base):
__tablename__ = 'events'
query = Session.query.property(query_cls = EventQuery)
...
device_source_id = Col