.. _f-iterrows: module ``generic.iter_rows`` ============================ .. inheritance-diagram:: pysqllike.generic.iter_rows Short summary +++++++++++++ module ``pysqllike.generic.iter_rows`` An class which iterates on any set. :githublink:`%|py|6` Classes +++++++ +--------------------------------------------------------+-----------------------------------------------+ | class | truncated documentation | +========================================================+===============================================+ | :class:`IterRow ` | Defines an iterator which mimic SQL behavior. | +--------------------------------------------------------+-----------------------------------------------+ Properties ++++++++++ +-------------------------------------------------------------+-------------------------+ | property | truncated documentation | +=============================================================+=========================+ | :meth:`Schema ` | return _schema | +-------------------------------------------------------------+-------------------------+ Methods +++++++ +--------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | method | truncated documentation | +==========================================================================+=========================================================================================+ | :py:meth:`__call__ ` | evaluate | +--------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | Initializes the iterator. | +--------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :py:meth:`__iter__ ` | iterator, returns this row, it always outputs a list of list | +--------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :py:meth:`__str__ ` | usual | +--------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :py:meth:`_findschema ` | look for column index whose name is name | +--------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :meth:`groupby ` | This function applies a groupby (same behavior as SQL's version) | +--------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :meth:`orderby ` | This function sorts elements from an IterRow instance. | +--------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :meth:`print_schema ` | calls :meth:`print_parent` on each column | +--------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :meth:`select ` | This function takes an undefined number of arguments. It can be used the following way: | +--------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :meth:`unionall ` | Concatenates this table with another one | +--------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :meth:`where ` | This function filters elements from an :class:`IterRow` instance. | +--------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: pysqllike.generic.iter_rows :members: :special-members: __init__ :show-inheritance: