]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Added code to make foreignkey on ActiveMapper accept a string and create the ForeignK...
authorjeff <none@none>
Mon, 27 Feb 2006 15:36:48 +0000 (15:36 +0000)
committerjeff <none@none>
Mon, 27 Feb 2006 15:36:48 +0000 (15:36 +0000)
commit84a43c5cf9698287ea303701a9e865b2ca4570e6
tree94999b1d2d3ed1cea00babca392002697c3d2cca
parentd368fd17d916b5a34490e27099cf39c127622270
Added code to make foreignkey on ActiveMapper accept a string and create the ForeignKey object on the fly. Also added ability to pass args and kwargs to Column constructor. ActiveMapper columns can have keyword args indexed and unique which will automatically create a index or a unique index. dburi in AutoConnectEngine can be a callable.
lib/sqlalchemy/ext/activemapper.py
lib/sqlalchemy/ext/proxy.py
test/autoconnect_engine.py [new file with mode: 0644]