# sqlalchemy 2.1.9 (MIT), harvested by tools/harvest_corpus.py
=== input
Execute the statement represented by this
        :class:`.ORMExecuteState`, without re-invoking events that have
        already proceeded.

        This method essentially performs a re-entrant execution of the current
        statement for which the :meth:`.SessionEvents.do_orm_execute` event is
        being currently invoked.    The use case for this is for event handlers
        that want to override how the ultimate
        :class:`_engine.Result` object is returned, such as for schemes that
        retrieve results from an offline cache or which concatenate results
        from multiple executions.

        When the :class:`_engine.Result` object is returned by the actual
        handler function within :meth:`_orm.SessionEvents.do_orm_execute` and
        is propagated to the calling
        :meth:`_orm.Session.execute` method, the remainder of the
        :meth:`_orm.Session.execute` method is preempted and the
        :class:`_engine.Result` object is returned to the caller of
        :meth:`_orm.Session.execute` immediately.

        :param statement: optional statement to be invoked, in place of the
         statement currently represented by :attr:`.ORMExecuteState.statement`.

        :param params: optional dictionary of parameters or list of parameters
         which will be merged into the existing
         :attr:`.ORMExecuteState.parameters` of this :class:`.ORMExecuteState`.

         .. versionchanged:: 2.0 a list of parameter dictionaries is accepted
            for executemany executions.

        :param execution_options: optional dictionary of execution options
         will be merged into the existing
         :attr:`.ORMExecuteState.execution_options` of this
         :class:`.ORMExecuteState`.

        :param bind_arguments: optional dictionary of bind_arguments
         which will be merged amongst the current
         :attr:`.ORMExecuteState.bind_arguments`
         of this :class:`.ORMExecuteState`.

        :return: a :class:`_engine.Result` object with ORM-level results.

        .. seealso::

            :ref:`do_orm_execute_re_executing` - background and examples on the
            appropriate usage of :meth:`_orm.ORMExecuteState.invoke_statement`.


        
=== parse rest
short_description: |
  Execute the statement represented by this
  :class:`.ORMExecuteState`, without re-invoking events that have
  already proceeded.
long_description: |
  This method essentially performs a re-entrant execution of the current
  statement for which the :meth:`.SessionEvents.do_orm_execute` event is
  being currently invoked.    The use case for this is for event handlers
  that want to override how the ultimate
  :class:`_engine.Result` object is returned, such as for schemes that
  retrieve results from an offline cache or which concatenate results
  from multiple executions.
  
  When the :class:`_engine.Result` object is returned by the actual
  handler function within :meth:`_orm.SessionEvents.do_orm_execute` and
  is propagated to the calling
  :meth:`_orm.Session.execute` method, the remainder of the
  :meth:`_orm.Session.execute` method is preempted and the
  :class:`_engine.Result` object is returned to the caller of
  :meth:`_orm.Session.execute` immediately.
  
  .. seealso::
  
      :ref:`do_orm_execute_re_executing` - background and examples on the
      appropriate usage of :meth:`_orm.ORMExecuteState.invoke_statement`.
blank_after_short_description: True
blank_after_long_description: True
style: rest
- DocstringParam
  description: |
    optional statement to be invoked, in place of the
    statement currently represented by :attr:`.ORMExecuteState.statement`.
  kind: param
  key: 'param'
  arg_name: 'statement'
  is_optional: False
- DocstringParam
  description: |
    optional dictionary of parameters or list of parameters
    which will be merged into the existing
    :attr:`.ORMExecuteState.parameters` of this :class:`.ORMExecuteState`.
    
    .. versionchanged:: 2.0 a list of parameter dictionaries is accepted
       for executemany executions.
  kind: param
  key: 'param'
  arg_name: 'params'
  is_optional: False
- DocstringParam
  description: |
    optional dictionary of execution options
    will be merged into the existing
    :attr:`.ORMExecuteState.execution_options` of this
    :class:`.ORMExecuteState`.
  kind: param
  key: 'param'
  arg_name: 'execution_options'
  is_optional: False
- DocstringParam
  description: |
    optional dictionary of bind_arguments
    which will be merged amongst the current
    :attr:`.ORMExecuteState.bind_arguments`
    of this :class:`.ORMExecuteState`.
  kind: param
  key: 'param'
  arg_name: 'bind_arguments'
  is_optional: False
- DocstringReturns
  description: 'a :class:`_engine.Result` object with ORM-level results.'
  kind: returns
  key: 'return'
  is_generator: False
=== detect
rest
=== compose rest
Execute the statement represented by this
:class:`.ORMExecuteState`, without re-invoking events that have
already proceeded.

This method essentially performs a re-entrant execution of the current
statement for which the :meth:`.SessionEvents.do_orm_execute` event is
being currently invoked.    The use case for this is for event handlers
that want to override how the ultimate
:class:`_engine.Result` object is returned, such as for schemes that
retrieve results from an offline cache or which concatenate results
from multiple executions.

When the :class:`_engine.Result` object is returned by the actual
handler function within :meth:`_orm.SessionEvents.do_orm_execute` and
is propagated to the calling
:meth:`_orm.Session.execute` method, the remainder of the
:meth:`_orm.Session.execute` method is preempted and the
:class:`_engine.Result` object is returned to the caller of
:meth:`_orm.Session.execute` immediately.

.. seealso::

    :ref:`do_orm_execute_re_executing` - background and examples on the
    appropriate usage of :meth:`_orm.ORMExecuteState.invoke_statement`.

:param statement: optional statement to be invoked, in place of the
    statement currently represented by :attr:`.ORMExecuteState.statement`.
:param params: optional dictionary of parameters or list of parameters
    which will be merged into the existing
    :attr:`.ORMExecuteState.parameters` of this :class:`.ORMExecuteState`.

    .. versionchanged:: 2.0 a list of parameter dictionaries is accepted
       for executemany executions.
:param execution_options: optional dictionary of execution options
    will be merged into the existing
    :attr:`.ORMExecuteState.execution_options` of this
    :class:`.ORMExecuteState`.
:param bind_arguments: optional dictionary of bind_arguments
    which will be merged amongst the current
    :attr:`.ORMExecuteState.bind_arguments`
    of this :class:`.ORMExecuteState`.
:return: a :class:`_engine.Result` object with ORM-level results.
