[sqlalchemy] Re: COMMENT ON clause for schema.Column/schema.Table?

2008-12-31 Thread Jim Jones
Just wanted to give this a bump as it would be a very welcome feature for us, too. Postgres also supports this and the comments are generally very helpful when browsing the schema with CLI- or GUI-tools. Any volunteers? regards + happy new year -jj Michael Bayer wrote: columns support an

[sqlalchemy] Callback on save when value of field has changed?

2008-12-27 Thread Jim Jones
Hi List, I have this simple model (in declarative style): class Item( Base ): __tablename__ = 'items' desc = Column( 'desc', UnicodeText(), nullable=False ) email = Column( 'email', UnicodeText(), nullable=False ) How can I trigger an event when the value of 'desc' has changed and

[sqlalchemy] Re: Callback on save when value of field has changed?

2008-12-27 Thread Jim Jones
Andreas Jung wrote: On 27.12.2008 11:06 Uhr, Jim Jones wrote: Hi List, I have this simple model (in declarative style): class Item( Base ): __tablename__ = 'items' desc = Column( 'desc', UnicodeText(), nullable=False ) email = Column( 'email', UnicodeText

[sqlalchemy] Re: declarative

2008-08-21 Thread Jim Jones
On Tue, 2008-08-19 at 16:16 -0400, Michael Bayer wrote: On Aug 19, 2008, at 4:07 PM, Gaetan de Menten wrote: Simpler than Elixir? How so? If you are speaking about the internal guts, then you are right declarative is simpler (which is normal since it does less), but if you meant the

[sqlalchemy] Re: declarative

2008-08-21 Thread Jim Jones
On Thu, 2008-08-21 at 16:08 +0200, Gaetan de Menten wrote: Everyone else will eventually grow out of it. That's quite a bold claim... Ok, Elixir is not your style, that's fine. Also, Elixir certainly doesn't suit every project out there, I'm aware of that. But implying it's not worth it