bee.condition
class
Condition(abc.ABC):
Condition: used to construct complex WHERE, UPDATE statements and so on.
@abstractmethod
def
having( self, functionType: bee.bee_enum.FunctionType, field: str, op: bee.bee_enum.Op, value: Any) -> Condition:
@abstractmethod
def
orderBy3( self, functionType: bee.bee_enum.FunctionType, field: str, orderType: bee.bee_enum.OrderType) -> Condition:
eg: orderBy3(FunctionType.MAX, "total", OrderType.DESC)-->order by max(total) desc