diff --git a/VERSION b/VERSION index 5eccb12e..e1bca154 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.9.5-trunk+timestamp.2014.05.16.22.42.19 +Version 2.9.5-trunk+timestamp.2014.05.26.22.25.23 diff --git a/gluon/dal.py b/gluon/dal.py index e4b1de33..bc03939e 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -10979,6 +10979,9 @@ class Rows(object): self.export_to_csv_file(s) return s.getvalue() + def column(self, column=None): + return [r[str(column) if column else self.colnames[0]] for r in self] + def first(self): if not self.records: return None