Re: [sqlalchemy] How to cache SQLAlchemy results?

2010-03-02 Thread Michael Bayer
Boda Cydo wrote: > Hello, > > I have a problem that I don't know how to approach. Here it is: > > Suppose I have a mapped class `Article` and I have a mapped class > `Author`. `Article.author` is a relation on `Author` that returns the > author of the `Article`. How do I make `Article.author` to ca

[sqlalchemy] How to cache SQLAlchemy results?

2010-03-02 Thread Boda Cydo
Hello, I have a problem that I don't know how to approach. Here it is: Suppose I have a mapped class `Article` and I have a mapped class `Author`. `Article.author` is a relation on `Author` that returns the author of the `Article`. How do I make `Article.author` to cache the value in memcached?