Modify

Opened 11 months ago

Last modified 11 months ago

#11288 new enhancement

Convert to .executemany() where appropriate

Reported by: ChrisNelson Owned by: ChrisNelson
Priority: low Component: TeamCalendarPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

As noted in http://trac-hacks.org/ticket/11131#comment:3 and http://www.python.org/dev/peps/pep-0249/, .executemany() is preferred over passing a list of tuples. This can clean up a number of database accesses, potentially making them more portable and readable.

Attachments (0)

Change History (1)

comment:1 Changed 11 months ago by rjollos

Sorry, it's not a duplicate, I just noticed #11287 is different! I had figured it was the mysterious submit once, get two tickets issue that we see from time to time.

Last edited 11 months ago by rjollos (previous) (diff)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.