Changes between Initial Version and Version 1 of Ticket #11027, comment 16


Ignore:
Timestamp:
Apr 24, 2014, 12:54:47 PM (10 years ago)
Author:
Chris Nelson
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11027, comment 16

    initial v1  
    2222I add `valuesClause` to the SQL with string formatting (`%s`) like the example from the Rules about a table name.  `valuesClause` may be
    2323
    24  * `''`
    2524 * `'(%s,%s,%s)'`
    2625 * `'(%s,%s,%s),(%s,%s,%s)'`
    2726
    28 and so on. So for two tickets to insert, I get
     27and 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
    2928
    3029{{{