libervia-backend/libervia/backend
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Goffi 57d3d8e07e memory (sqla): Improve handling of RSM in get_items:
- update queries to handle correctly the `before=""` case and RSM order (older to newer)
  while having correct order when `max_items` without RSM is used (then order it newer to
  older).
- put RSM code path in a separated method for better readability.
- check values of `max_items` and `from_index` and raise exception is they are not
  positive
- when using `before` or `after`, check that the item ID used as reference exists, and
  raise an exception otherwise.
- updated docstring to reflect the new behaviour.
- update pubsub cache use of `get_items` with RSM, to adapt to new behaviour.

rel 476
2026-04-07 14:58:42 +02:00
..
bridge Dates update. 2026-03-31 12:57:17 +02:00
core memory (sqla): Improve handling of RSM in get_items: 2026-04-07 14:58:42 +02:00
memory memory (sqla): Improve handling of RSM in get_items: 2026-04-07 14:58:42 +02:00
models Dates update. 2026-03-31 12:57:17 +02:00
plugins memory (sqla): Improve handling of RSM in get_items: 2026-04-07 14:58:42 +02:00
stdui Dates update. 2026-03-31 12:57:17 +02:00
test Dates update. 2026-03-31 12:57:17 +02:00
tools Dates update. 2026-03-31 12:57:17 +02:00
__init__.py Dates update. 2026-03-31 12:57:17 +02:00