Revision 3039
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
1110 | 1110 |
for col in cols: add_index(db, col, table) |
1111 | 1111 |
|
1112 | 1112 |
def add_col(db, table, col, **kw_args): |
1113 |
''' |
|
1114 |
@param col Name may be versioned, so be sure to propagate any renaming back |
|
1115 |
to any source column for the TypedCol. |
|
1116 |
''' |
|
1113 | 1117 |
assert isinstance(col, sql_gen.TypedCol) |
1114 | 1118 |
|
1115 | 1119 |
while True: |
Also available in: Unified diff
sql.py: add_col(): Document that name may be versioned, so caller needs to propagate any renaming back to any source column for the TypedCol