爱意满满的作品展示区。
geew

写了个基于 torndb 的简单 orm, 不知道大家有什么建议不?

  •  
  •   geew · Apr 4, 2014 · 3333 views
    This topic created in 4434 days ago, the information mentioned may be changed or developed.
    了解不多, 欢迎拍砖, 我会努力改进的
    https://github.com/geew/simpleorm

    ps: 最近还打算基于sqlalchemy SQL Expression再来实现一个类似的东西, 感觉sqlalchemy的orm过于繁重了
    4 replies    1970-01-01 08:00:00 +08:00
    baocaixiong
        1
    baocaixiong  
       Apr 4, 2014
    __get, 好亮. 哈哈。不错。:)
    geew
        2
    geew  
    OP
       Apr 4, 2014
    @baocaixiong 为啥这么说? 之前有这个中间层是想做缓存来着, 后来发现缓存sql和去掉没啥区别,就没用缓存了....
    baocaixiong
        3
    baocaixiong  
       Apr 4, 2014 via Android
    呵呵,因为__get是php的。。哈哈
    geew
        4
    geew  
    OP
       Apr 8, 2014
    @baocaixiong 哈哈 好吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3509 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 11:15 · PVG 19:15 · LAX 04:15 · JFK 07:15
    ♥ Do have faith in what you're doing.