That sounds great.
Don't mean to sound so dissenting. Your hard work is greatly
appreciated.
~jon
On Jul 31, 12:10 pm, Jonathan LaCour <[EMAIL PROTECTED]>
wrote:
> Jonathon Anderson wrote:
> > Back to my mental disconnect thing:
>
> Just an FYI, Gaetan and I have been talking off-list about this, and it
> looks like we're going to make the events a first-class part of Elixir,
> and not activated through a statement, so you'll be able to do this:
>
> from elixir import Entity, Unicode, has_field, before_update
>
> class Person(Entity):
> has_field('name', Unicode)
> has_field('password', Unicode)
>
> @before_update
> def validate_password(self):
> assert len(self.password) > 5
>
> Elixir will support the following events:
>
> before_update
> after_update
> before_insert
> after_insert
> before_delete
> after_delete
>
> We'll try and update the trunk to reflect this at some point in the very
> near future.
>
> --
> Jonathan LaCourhttp://cleverdevil.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---