Mercurial > libervia-backend
comparison sat/memory/cache.py @ 3798:b5013bada4b6
core (memory/sqla): generic `get` + `session_add` in `delete`:
new generic `get` allow to retrieve an ORM object with given column and value, and
optionally join load attributes.
In `delete`, it is now possible to specify instances to add to session, this allow, to
update them in the same transaction. It is also now possible to specify a list of object
to delete them all in the same transaction.
rel 367
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 17 Jun 2022 14:15:23 +0200 |
parents | b3fa179417e7 |
children | 2863345c9bbb |
comparison
equal
deleted
inserted
replaced
3797:cc653b2685f0 | 3798:b5013bada4b6 |
---|