def __init__(self, model_class: Type[Model]):
    self._model_class = model_class
    self._expression: Optional[BinaryExpression] = None
    self._having_expression: Optional[BinaryExpression] = None
    self._offset = 0
    self._limit = None
    self._order_by: List[UnaryExpression] = []
    self._group_by = []
    self._entities: List[Entity] = [model_class]
    self._raw = False
    self._join_chain: Optional[JoinChain] = None
    self._for_update = False
def __init__(self, model_class: Type[Model]):
    self._model_class = model_class
    self._expression: Optional[BinaryExpression] = None
    self._having_expression: Optional[BinaryExpression] = None
    self._offset = 0
    self._limit = None
    self._order_by: List[UnaryExpression] = []
    self._group_by = []
    self._entities: List[Entity] = [model_class]
    self._raw = False
    self._join_chain: Optional[JoinChain] = None
    self._for_update = False