- 授权协议: MIT
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://orator-orm.com
- 软件文档: https://orator-orm.com/docs
软件介绍
Orator ORM 提供了一个简单而优美的 ActiveRecord 实现。
它有部分灵感来自于 Laravel 框架的数据库部分,但很大程度上修改为更 pythonic。
功能特性:
一个简单但强大的 ORM
数据库不可知 Schema Builder
一个低级别的查询生成器,以避免 ORM Migrations
支持 PostgreSQL、MySQL 和 SQLite 开箱即用
Orator ORM 支持 python 2.7+和 3.2+ 版本。
基本用法:
from orator import DatabaseManager, Model
config = {
'mysql': {
'driver': 'mysql',
'host': 'localhost',
'database': 'database',
'user': 'root',
'password': '',
'prefix': ''
}
}
db = DatabaseManager(config)
Model.set_connection_resolver(db)
The Seasoned Schemer
Daniel P. Friedman、Matthias Felleisen / The MIT Press / 1995-12-21 / USD 38.00
drawings by Duane Bibbyforeword and afterword by Guy L. Steele Jr.The notion that "thinking about computing is one of the most exciting things the human mind can do" sets both The Little Schemer (form......一起来看看 《The Seasoned Schemer》 这本书的介绍吧!
