Skip to content

Use tuple instead of dict in hardwareListing query #1583

@MarceloRobert

Description

@MarceloRobert

The dict_fetchall function explicitly says to not use it on large queries, and yet we are using it in the hardware listing query, one of the longest ones. We should return a simple tuple specially because it is a simple change and will improve the performance even if just a bit.

Metadata

Metadata

Assignees

Labels

BackendMost or all of the changes for this issue will be in the backend code.QueriesIssue that involves modifying some DB query

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions