class documentation

class MergedResult(IteratorResult):

View In Hierarchy

A _engine.Result that is merged from any number of _engine.Result objects.

Returned by the _engine.Result.merge method.

New in version 1.4.
Method __init__ Undocumented
Method ​_soft​_close Undocumented
Instance Variable ​_attributes Undocumented
Instance Variable ​_results Undocumented
Instance Variable ​_source​_supports​_scalars Undocumented
Instance Variable ​_unique​_filter​_state Undocumented
Instance Variable ​_yield​_per Undocumented
Instance Variable closed Undocumented

Inherited from IteratorResult:

Method ​_fetchall​_impl Undocumented
Method ​_fetchiter​_impl Undocumented
Method ​_fetchmany​_impl Undocumented
Method ​_fetchone​_impl Undocumented
Method ​_raise​_hard​_closed Undocumented
Method ​_raw​_row​_iterator Return a safe iterator that yields raw row data.
Instance Variable ​_hard​_closed Undocumented
Instance Variable ​_metadata Undocumented
Instance Variable iterator Undocumented
Instance Variable raw Undocumented

Inherited from Result (via IteratorResult):

Method __iter__ Undocumented
Method __next__ Undocumented
Method ​_getter return a callable that will retrieve the given key from a .Row.
Method ​_tuple​_getter return a callable that will retrieve the given keys from a .Row.
Method all Return all rows in a list.
Method close close this _result.Result.
Method columns Establish the columns that should be returned in each row.
Method fetchall A synonym for the _engine.Result.all method.
Method fetchmany Fetch many rows.
Method fetchone Fetch one row.
Method first Fetch the first row or None if no row is present.
Method freeze Return a callable object that will produce copies of this .Result when invoked.
Method mappings Apply a mappings filter to returned rows, returning an instance of _result.MappingResult.
Method merge Merge this .Result with other compatible result objects.
Method next Undocumented
Method one Return exactly one row or raise an exception.
Method one​_or​_none Return at most one result or raise an exception.
Method partitions Iterate through sub-lists of rows of the size given.
Method scalar Fetch the first column of the first row, and close the result set.
Method scalar​_one Return exactly one scalar result or raise an exception.
Method scalar​_one​_or​_none Return exactly one or no scalar result.
Method scalars Return a _result.ScalarResult filtering object which will return single elements rather than _row.Row objects.
Method unique Apply unique filtering to the objects returned by this _engine.Result.
Method yield​_per Configure the row-fetching strategy to fetch num rows at a time.
Class Variable ​_row​_logging​_fn Undocumented

Inherited from _WithKeys (via IteratorResult, Result):

Method keys Return an iterable view which yields the string keys that would be represented by each .Row.

Inherited from ResultInternal (via IteratorResult, Result):

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
Class Variable ​_post​_creational​_filter Undocumented
Class Variable ​_real​_result Undocumented
Instance Variable ​_generate​_rows Undocumented

Inherited from InPlaceGenerative (via IteratorResult, Result, ResultInternal):

Method ​_generate Undocumented
def __init__(self, cursor_metadata, results):
def _soft_close(self, hard=False, **kw):
_attributes =
_results =

Undocumented

_source_supports_scalars =
_unique_filter_state =
_yield_per =
closed: bool =

Undocumented