Files
romm/backend/models
Michael Manganiello 00d7815889 fix: Improve performance on asset screenshot retrieval
When retrieving the related screenshot for a `Save` or `State`, we were
retrieving a very heavy representation of the associated `Rom` object,
only to iterate through its screenshots to find the one we needed.

This change modifies the `Save` and `State` models to directly query the
`Screenshot` model, which is much faster and more efficient. The
`DBScreenshotsHandler` has been updated to include a new `filter` method
that will simplify building queries using SQLAlchemy, something we can
extend to other handlers in the future.

Fixes #1925.
2025-08-10 15:33:13 -03:00
..
2025-07-23 21:52:52 -04:00
2025-07-17 12:30:57 -04:00
2025-07-25 17:37:55 -04:00
2025-07-17 12:30:57 -04:00
2025-07-24 16:41:17 -04:00
2025-07-17 12:30:57 -04:00
2025-07-22 18:10:12 -04:00