@classmethod<EOL><INDENT>def upsert_all(cls, engine, obj_or_data):<DEDENT>
cls.update_all(<EOL>engine=engine,<EOL>obj_or_data=obj_or_data,<EOL>upsert=True,<EOL>)<EOL>
The :meth:`sqlalchemy.crud.updating.upsert_all` function in ORM syntax.

:type engine: Engine
:param engine: an engine created by``sqlalchemy.create_engine``.

:type obj_or_data: Union[ExtendedBase, List[ExtendedBase]]
:param obj_or_data: single object or list of object