开发者

Does Reddit use any type of ORM? [closed]

开发者 https://www.devze.com 2022-12-14 12:53 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. 开发者_开发百科 Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.
开发者_开发百科

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 10 years ago.

Improve this question

Sorry I want to learn Python, and was curious if Reddit's codebase uses any sort of ORM?


Have a look: http://code.reddit.com/browser/r2/r2/lib/db/


Yes. Reddit uses the Pylons framework, and relies on the SQLAlchemy framework for its own ORM layer. However, SQLAlchemy is a fairly low-level ORM library as far as ORMs go, and so Reddit has a fair amount of custom code that makes the ORM stuff work.

0

精彩评论

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