heh. reading the SQLA docs cover to cover is not particularly useful for
beginners either... :)
On Mar 22, 2014, at 6:12 PM, Bao Niu wrote:
> Hi Michael,
> Just a quick line, version table is not something particularly useful for
> beginner users, am I right? Thanks.
>
>
> On Sat, Mar 22,
Hi Michael,
Just a quick line, version table is not something particularly useful for
beginner users, am I right? Thanks.
On Sat, Mar 22, 2014 at 2:52 PM, Michael Bayer wrote:
> when you're using an event such as before_flush() to check on
> attributes.get_history() so that you can see that a ne
when you're using an event such as before_flush() to check on
attributes.get_history() so that you can see that a new "version" needs to be
inserted into a version table, you need the old value of the attribute in order
to compare. see the versioned_history example.
On Mar 22, 2014, at 4:34 P
In the documentation for sqlalchemy.orm.column_property, there is a section
explaining the *active_history* flag. It is very terse. I think it is very
useful but just cannot think of a scenario where I would ever want to use
*previous* value when I'm setting a new value. Could someone use plain