class FilterResult(ResultInternal[
Known subclasses: sqlalchemy.engine.result.MappingResult
, sqlalchemy.engine.result.ScalarResult
, sqlalchemy.engine.result.TupleResult
, sqlalchemy.ext.asyncio.result.AsyncCommon
A wrapper for a :class:`_engine.Result` that returns objects other than :class:`_engine.Row` objects, such as dictionaries or scalar objects. :class:`_engine.FilterResult` is the common base for additional result APIs including :class:`_engine.MappingResult`, :class:`_engine.ScalarResult` and :class:`_engine.AsyncResult`.
Method | __enter__ |
Undocumented |
Method | __exit__ |
Undocumented |
Method | close |
Close this :class:`_engine.FilterResult`. |
Method | yield |
Configure the row-fetching strategy to fetch ``num`` rows at a time. |
Class Variable | __slots__ |
Undocumented |
Property | closed |
Return ``True`` if the underlying :class:`_engine.Result` reports closed |
Method | _fetchall |
Undocumented |
Method | _fetchiter |
Undocumented |
Method | _fetchmany |
Undocumented |
Method | _fetchone |
Undocumented |
Method | _soft |
Undocumented |
Class Variable | _post |
Undocumented |
Instance Variable | _real |
Undocumented |
Property | _attributes |
Undocumented |
Property | _soft |
Undocumented |
Inherited from ResultInternal
:
Method | _allrows |
Undocumented |
Method | _column |
Undocumented |
Method | _iter |
Undocumented |
Method | _iterator |
Undocumented |
Method | _manyrow |
Undocumented |
Method | _next |
Undocumented |
Method | _onerow |
Undocumented |
Method | _only |
Undocumented |
Method | _raw |
Undocumented |
Method | _row |
Undocumented |
Method | _unique |
Undocumented |
Class Variable | _is |
Undocumented |
Class Variable | _row |
Undocumented |
Class Variable | _source |
Undocumented |
Class Variable | _unique |
Undocumented |
Instance Variable | _generate |
Undocumented |
Instance Variable | _metadata |
Undocumented |
Inherited from InPlaceGenerative
(via ResultInternal
):
Method | _generate |
Undocumented |
sqlalchemy.ext.asyncio.result.AsyncCommon
Close this :class:`_engine.FilterResult`. .. versionadded:: 1.4.43
Configure the row-fetching strategy to fetch ``num`` rows at a time. The :meth:`_engine.FilterResult.yield_per` method is a pass through to the :meth:`_engine.Result.yield_per` method. See that method's documentation for usage notes. .. versionadded:: 1.4.40 - added :meth:`_engine.FilterResult.yield_per` so that the method is available on all result set implementations .. seealso:: :ref:`engine_stream_results` - describes Core behavior for :meth:`_engine.Result.yield_per` :ref:`orm_queryguide_yield_per` - in the :ref:`queryguide_toplevel`
sqlalchemy.ext.asyncio.result.AsyncCommon
Return ``True`` if the underlying :class:`_engine.Result` reports closed .. versionadded:: 1.4.43
Optional[ int]
= None) -> List[ _InterimRowType[ Row[ Any]]]
:
(source)
¶
Undocumented
bool
= False) -> Optional[ _InterimRowType[ Row[ Any]]]
:
(source)
¶
Undocumented