Alexandria API improvement
The alexandria
API is causing some boilerplate in the irdest-core
storage code. Some things are missing to improve the situation.
-
Rename .batch(...)
to.batch_insert(...)
-
Add .batch_update(...)
next to.update(...)
-
Add .upsert(...)
and.batch_upsert(...)
as combinations of the above functions -
Provide a derive macro for ToDiff
-
Create alexandria-derive
(oralexandria-macros
?) crate to letircore-types
depend on it, without having to depend on the whole database.
-
Edited by Katharina Fey