diff options
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. |