diff options
author | Federico Caselli <cfederico87@gmail.com> | 2020-09-26 16:02:05 +0200 |
---|---|---|
committer | Federico Caselli <cfederico87@gmail.com> | 2020-09-29 19:27:29 +0200 |
commit | 50fb226903ff8b1af62a787a100f03928d1c4e06 (patch) | |
tree | f38e707fe50af328a044b9aa7467bd3aced44548 /lib/sqlalchemy/engine/row.py | |
parent | 7362d454f46107cae4076ce54e9fa430c3370734 (diff) | |
download | sqlalchemy-50fb226903ff8b1af62a787a100f03928d1c4e06.tar.gz |
Improve some documentations
Change-Id: Ibcb0da3166b94aa58fa92d544c3e5cf75844546e
Diffstat (limited to 'lib/sqlalchemy/engine/row.py')
-rw-r--r-- | lib/sqlalchemy/engine/row.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/sqlalchemy/engine/row.py b/lib/sqlalchemy/engine/row.py index fe6831e30..288f08e29 100644 --- a/lib/sqlalchemy/engine/row.py +++ b/lib/sqlalchemy/engine/row.py @@ -276,6 +276,10 @@ class Row(BaseRow, collections_abc.Sequence): """Return the list of keys as strings represented by this :class:`.Row`. + The keys can represent the labels of the columns returned by a core + statement or the names of the orm classes returned by an orm + execution. + This method is analogous to the Python dictionary ``.keys()`` method, except that it returns a list, not an iterator. @@ -293,6 +297,10 @@ class Row(BaseRow, collections_abc.Sequence): """Return a tuple of string keys as represented by this :class:`.Row`. + The keys can represent the labels of the columns returned by a core + statement or the names of the orm classes returned by an orm + execution. + This attribute is analogous to the Python named tuple ``._fields`` attribute. |