def _as_dict(self):
values = self._dynamic_columns or {}<EOL>for name, col in self._columns.items():<EOL><INDENT>values[name] = col.to_database(getattr(self, name, None))<EOL><DEDENT>return values<EOL>
Returns a map of column names to cleaned values