开发者

SQLObject: How do I prevent a specific class from being cached?

SQLObject caching is very aggressive for me. Can I prevent one specific开发者_高级运维 class from being cached?


from the manual:

class MyClass(SQLObject):

    class sqlmeta:
        cacheValues = False

    # column definitions, etc.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜