class AsyncMappingResult(AsyncCommon):
A wrapper for a _asyncio.AsyncResult
that returns dictionary values
rather than _engine.Row
values.
The _asyncio.AsyncMappingResult
object is acquired by calling the
_asyncio.AsyncResult.mappings
method.
Refer to the _result.MappingResult
object in the synchronous
SQLAlchemy API for a complete behavioral description.
Method | __aiter__ |
Undocumented |
Async Method | __anext__ |
Undocumented |
Method | __init__ |
Undocumented |
Async Method | all |
Return all scalar values in a list. |
Method | columns |
Establish the columns that should be returned in each row. |
Async Method | fetchall |
A synonym for the _asyncio.AsyncMappingResult.all method. |
Async Method | fetchmany |
Fetch many objects. |
Async Method | fetchone |
Fetch one object. |
Async Method | first |
Fetch the first object or None if no object is present. |
Method | keys |
Return an iterable view which yields the string keys that would be represented by each .Row . |
Async Method | one |
Return exactly one object or raise an exception. |
Async Method | one_or_none |
Return at most one object or raise an exception. |
Async Method | partitions |
Iterate through sub-lists of elements of the size given. |
Method | unique |
Apply unique filtering to the objects returned by this _asyncio.AsyncMappingResult . |
Class Variable | _generate_rows |
Undocumented |
Class Variable | _post_creational_filter |
Undocumented |
Instance Variable | _metadata |
Undocumented |
Instance Variable | _real_result |
Undocumented |
Instance Variable | _unique_filter_state |
Undocumented |
Inherited from AsyncCommon
:
Async Method | close |
Close this result. |
Inherited from FilterResult
(via AsyncCommon
):
Method | _fetchall_impl |
Undocumented |
Method | _fetchiter_impl |
Undocumented |
Method | _fetchmany_impl |
Undocumented |
Method | _fetchone_impl |
Undocumented |
Method | _soft_close |
Undocumented |
Property | _attributes |
Undocumented |
Inherited from ResultInternal
(via AsyncCommon
, FilterResult
):
Method | _allrows |
Undocumented |
Method | _column_slices |
Undocumented |
Method | _iter_impl |
Undocumented |
Method | _iterator_getter |
Undocumented |
Method | _manyrow_getter |
Undocumented |
Method | _next_impl |
Undocumented |
Method | _onerow_getter |
Undocumented |
Method | _only_one_row |
Undocumented |
Method | _raw_all_rows |
Undocumented |
Method | _row_getter |
Undocumented |
Method | _unique_strategy |
Undocumented |
Inherited from InPlaceGenerative
(via AsyncCommon
, FilterResult
, ResultInternal
):
Method | _generate |
Undocumented |
Return all scalar values in a list.
Equivalent to _asyncio.AsyncResult.all
except that
mapping values, rather than _result.Row
objects,
are returned.
Fetch many objects.
Equivalent to _asyncio.AsyncResult.fetchmany
except that
mapping values, rather than _result.Row
objects,
are returned.
Fetch one object.
Equivalent to _asyncio.AsyncResult.fetchone
except that
mapping values, rather than _result.Row
objects,
are returned.
Fetch the first object or None if no object is present.
Equivalent to _asyncio.AsyncResult.first
except that
mapping values, rather than _result.Row
objects,
are returned.
Return an iterable view which yields the string keys that would
be represented by each .Row
.
The view also can be tested for key containment using the Python in operator, which will test both for the string keys represented in the view, as well as for alternate keys such as column objects.
Return exactly one object or raise an exception.
Equivalent to _asyncio.AsyncResult.one
except that
mapping values, rather than _result.Row
objects,
are returned.
Return at most one object or raise an exception.
Equivalent to _asyncio.AsyncResult.one_or_none
except that
mapping values, rather than _result.Row
objects,
are returned.
Iterate through sub-lists of elements of the size given.
Equivalent to _asyncio.AsyncResult.partitions
except that
mapping values, rather than _result.Row
objects,
are returned.
Apply unique filtering to the objects returned by this
_asyncio.AsyncMappingResult
.
See _asyncio.AsyncResult.unique
for usage details.