Hello,

I am upgrading a system from sqlalchemy 0.5.3 to sqlalchemy 0.7.3. I a
seeing breakage when adding an instance of sql.functions.sum( Column )
to a ColumnCollection.

Here is the add method from the 0.7.3 version:

    def add(self, column):
        """Add a column to this collection.

        The key attribute of the column will be used as the hash key
        for this dictionary.

        """
        self[column.key] = column

Clearly the column requires a .key property. In 0.5.3, the Function
class defined a key property, in 0.7.3 it no longer does. What is the
correct way to add a function to a ColumnCollection in recent
versions?

Best.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to