Returns min value of columns for rows matching the given criteria (applied with `filter` and `exclude` if set before). :return: min value of column(s) :rtype: Any
(self, columns: Union[str, list[str]])
| 836 | return await self._query_aggr_function(func_name="max", columns=columns) |
| 837 | |
| 838 | async def min(self, columns: Union[str, list[str]]) -> Any: # noqa: A003 |
| 839 | """ |
| 840 | Returns min value of columns for rows matching the given criteria |
| 841 | (applied with `filter` and `exclude` if set before). |
| 842 | |
| 843 | :return: min value of column(s) |
| 844 | :rtype: Any |
| 845 | """ |
| 846 | if not isinstance(columns, list): |
| 847 | columns = [columns] |
| 848 | return await self._query_aggr_function(func_name="min", columns=columns) |
| 849 | |
| 850 | async def sum(self, columns: Union[str, list[str]]) -> Any: # noqa: A003 |
| 851 | """ |