From: Mike Bayer Date: Sat, 2 May 2020 18:59:15 +0000 (-0400) Subject: Fix links in future engine to refer to engine.Result X-Git-Tag: rel_1_4_0b1~350 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00d40775b73cf94fa5d1b765dac1e600e93e172f;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix links in future engine to refer to engine.Result Change-Id: I1d24db707de15fbdc05e80e0705590eb93d055d0 --- diff --git a/lib/sqlalchemy/future/engine.py b/lib/sqlalchemy/future/engine.py index a066846f7f..b96716978e 100644 --- a/lib/sqlalchemy/future/engine.py +++ b/lib/sqlalchemy/future/engine.py @@ -28,7 +28,7 @@ class Connection(_LegacyConnection): class. The API and behavior of this object is largely the same, with the following differences in behavior: - * The result object returned for results is the :class:`_future.Result` + * The result object returned for results is the :class:`_engine.Result` object. This object has a slightly different API and behavior than the prior :class:`_engine.CursorResult` object. @@ -271,7 +271,7 @@ class Connection(_LegacyConnection): def execute(self, statement, parameters=None, execution_options=None): r"""Executes a SQL statement construct and returns a - :class:`_future.Result`. + :class:`_engine.Result`. :param object: The statement to be executed. This is always an object that is in both the :class:`_expression.ClauseElement` and @@ -298,7 +298,7 @@ class Connection(_LegacyConnection): dictionary can provide a subset of the options that are accepted by :meth:`_future.Connection.execution_options`. - :return: a :class:`_future.Result` object. + :return: a :class:`_engine.Result` object. """ return self._execute_20( @@ -309,7 +309,7 @@ class Connection(_LegacyConnection): r"""Executes a SQL statement construct and returns a scalar object. This method is shorthand for invoking the - :meth:`_future.Result.scalar` method after invoking the + :meth:`_engine.Result.scalar` method after invoking the :meth:`_future.Connection.execute` method. Parameters are equivalent. :return: a scalar Python value representing the first column of the