Changes between Initial Version and Version 1 of Ticket #11027, comment 16
- Timestamp:
- Apr 24, 2014, 12:54:47 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11027, comment 16
initial v1 22 22 I add `valuesClause` to the SQL with string formatting (`%s`) like the example from the Rules about a table name. `valuesClause` may be 23 23 24 * `''`25 24 * `'(%s,%s,%s)'` 26 25 * `'(%s,%s,%s),(%s,%s,%s)'` 27 26 28 and so on. So for two tickets to insert, I get27 and so on. (It can't be `''` because we don't get to this code unless `len(toInsert)` is > 0.) So for two tickets to insert, I get 29 28 30 29 {{{