|
From: <sub...@co...> - 2006-02-26 15:45:51
|
Author: phd
Date: 2006-02-26 08:45:42 -0700 (Sun, 26 Feb 2006)
New Revision: 1627
Modified:
SQLObject/docs/SQLObject.txt
Log:
A description for createSQL by David Faure.
Modified: SQLObject/docs/SQLObject.txt
===================================================================
--- SQLObject/docs/SQLObject.txt 2006-02-26 15:45:13 UTC (rev 1626)
+++ SQLObject/docs/SQLObject.txt 2006-02-26 15:45:42 UTC (rev 1627)
@@ -734,7 +734,14 @@
`indexes`:
A list of all the indexes for this class.
+`createSQL`:
+ SQL queries run after table creation. createSQL can be a string with a
+ single SQL command, a list of SQL commands, or a dictionary with keys that
+ are dbNames and values that are either single SQL command string or a list
+ of SQL commands. This is usually for ALTER TABLE commands.
+ ``%s``, if present, is substituted with the name of the table.
+
There is also one instance attribute:
`expired`:
|