| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx

Python数据库对象映射框架 SQLObject

0
Python SQLite C/C++ Go 16600 次浏览

SQLObject 是一个流行的Python 数据库对象映射框架,映射的规则就是表->类、字段->属性

示例代码:

>>> from sqlobject import *
>>>
>>> sqlhub.processConnection = connectionForURI('sqlite:/:memory:')
>>>
>>> class Person(SQLObject):
... fname = StringCol()
... mi = StringCol(length=1, default=None)
... lname = StringCol()
...
>>> Person.createTable()

项目地址:http://www.sqlobject.org/

8个答案

0

My research colleagues are Nigerian students from Ondo. They study CS and programming at Adekunle Ajasin University and help me write my essay cheap today (2 pages). Please share some Python examples of edits in a single project.

0

好东西啊。太谢谢了。

0

非常好!!

0

学习了

0

真好 很有用 最近在学ABAQUS Python编程

0
学习