Modify ↓
Opened 5 years ago
Last modified 2 years ago
#12909 new enhancement
Adding Ticket.select to bulk fetch records
Reported by: | Jun Omae | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | next-stable-1.4.x |
Component: | ticket system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When retrieving ticket records in custom query, QueryModule
executes SELECT
query to ticket_custom
table N times a Ticket
instance. That behavior is slow….
I think we could reduce it to 1 time with Ticket.select
to bulk fetch records.
th:ExcelDownloadPlugin does bulk fetch tickets at th:source:exceldownloadplugin/0.12/tracexceldownload/ticket.py@16204#L57.
Attachments (0)
Note:
See TracTickets
for help on using tickets.