summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/sql/base.py')
-rw-r--r--lib/sqlalchemy/sql/base.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/base.py b/lib/sqlalchemy/sql/base.py
index c76c9ae14..726800717 100644
--- a/lib/sqlalchemy/sql/base.py
+++ b/lib/sqlalchemy/sql/base.py
@@ -1126,6 +1126,12 @@ class ColumnCollection(object):
def keys(self):
return [k for (k, col) in self._collection]
+ def values(self):
+ return [col for (k, col) in self._collection]
+
+ def items(self):
+ return list(self._collection)
+
def __bool__(self):
return bool(self._collection)