docs: def update_all(cls, engine, obj_or_data, upsert=False):
          """
          The :meth:`sqlalchemy.crud.updating.update_all` function in ORM syntax.
  
          :param engine: an engine created by``sqlalchemy.create_engine``.
          :param obj_or_data: single object or list of object
          :param upsert: if True, then do insert also.
          """
          obj_or_data = ensure_list(obj_or_data)
          update_all(
              engine=engine,
              table=cls.__table__,
              data=[obj.to_dict(include_null=False) for obj in obj_or_data],
              upsert=upsert,
          )