Thread: [SQL-CVS] r4528 - SQLObject/trunk/docs
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <sub...@co...> - 2012-05-24 19:37:56
|
Author: phd Date: Thu May 24 13:37:48 2012 New Revision: 4528 Log: createParamsPre/Post Modified: SQLObject/trunk/docs/TODO.txt Modified: SQLObject/trunk/docs/TODO.txt ============================================================================== --- SQLObject/trunk/docs/TODO.txt Tue May 22 15:18:37 2012 (r4527) +++ SQLObject/trunk/docs/TODO.txt Thu May 24 13:37:48 2012 (r4528) @@ -3,12 +3,16 @@ * RelatedJoin.hasOther(otherObject[.id]) -* tableParamSQL:: +* createParamsPre/Post:: class MyTable(SQLObject): - class sqlmeta: - tableParamSQL = 'ENGINE InnoDB' - tableParamSQL = {'mysql': 'ENGINE InnoDB'} + class sqlmeta: + createParamsPre = 'TEMPORARY IF NOT EXISTS' + createParamsPre = {temporary: True, ifNotExists: True, + 'postgres': 'LOCAL'} + createParamsPost = 'ENGINE InnoDB' + createParamsPost = {'mysql': 'ENGINE InnoDB', + 'postgres': 'WITH OIDS'} * SQLObject.fastInsert(). |