From bbde859af8229d55cb23ed322be55bd87292aac6 Mon Sep 17 00:00:00 2001 From: Ladislav Sulak Date: Mon, 24 Jun 2024 15:39:50 +0200 Subject: [PATCH] #120: updating readme --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6abb5441..6ea9782d 100644 --- a/README.md +++ b/README.md @@ -124,9 +124,11 @@ It brings: * `class SlickOptionalResultFunction` - abstract class for DB functions returning optional result * `class SlickSingleResultFunctionWithStatus` - abstract class for DB functions with status handling; it requires an implementation of `StatusHandling` to be mixed-in (`StandardStatusHandling` available out-of-the-box) -* `class SlickMultipleResultFunctionWithStatus` - as `SlickSingleResultFunctionWithStatus` but for multiple record - retrieval, it requires an implementation of `StatusAggregator` to be mixed-in - (`ByFirstErrorStatusAggregator`, `ByFirstRowStatusAggregator`, and `ByMajorityErrorsStatusAggregator` available +* `class SlickMultipleResultFunctionWithStatus` - as `SlickSingleResultFunctionWithStatus` but for multiple record + retrieval +* `class SlickMultipleResultFunctionWithAggStatus` - as `SlickMultipleResultFunctionWithStatus` but it aggregates + the statuses into a single record. It requires an implementation of `StatusAggregator` to be mixed-in + (`ByFirstErrorStatusAggregator`, `ByFirstRowStatusAggregator`, and `ByMajorityErrorsStatusAggregator` available out of the box) * `class SlickOptionalResultFunctionWithStatus` - as `SlickSingleResultFunctionWithStatus` but the returning record is optional @@ -166,8 +168,10 @@ It brings: * `class DoobieOptionalResultFunction` - abstract class for DB functions returning optional result * `class DoobieSingleResultFunctionWithStatus` - abstract class for DB functions with status handling; it requires an implementation of `StatusHandling` to be mixed-in (`StandardStatusHandling` available out-of-the-box) -* `class DoobieMultipleResultFunctionWithStatus` - as `DoobieSingleResultFunctionWithStatus` but for multiple record - retrieval, it requires an implementation of `StatusAggregator` to be mixed-in +* `class DoobieMultipleResultFunctionWithStatus` - as `DoobieSingleResultFunctionWithStatus` but for multiple record + retrieval +* `class DoobieMultipleResultFunctionWithAggStatus` - as `DoobieMultipleResultFunctionWithStatus` but it aggregates + the statuses into a single record. It requires an implementation of `StatusAggregator` to be mixed-in (`ByFirstErrorStatusAggregator`, `ByFirstRowStatusAggregator`, and `ByMajorityErrorsStatusAggregator` available out of the box) * `class DoobieOptionalResultFunctionWithStatus` - as `DoobieSingleResultFunctionWithStatus` but the returning record