Revision 2909
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
1138 | 1138 |
default=None, is_func=False, on_error=exc.raise_): |
1139 | 1139 |
'''Recovers from errors. |
1140 | 1140 |
Only works under PostgreSQL (uses INSERT RETURNING). |
1141 |
IMPORTANT: Must be run at the *beginning* of a transaction. |
|
1141 | 1142 |
@param in_tables The main input table to select from, followed by a list of |
1142 | 1143 |
tables to join with it using the main input table's pkey |
1143 | 1144 |
@param mapping dict(out_table_col=in_table_col, ...) |
Also available in: Unified diff
sql.py: put_table(): Document that must be run at the beginning of a transaction