Changeset 356 for elixir/trunk/TODO

Show
Ignore:
Timestamp:
07/08/08 11:07:14 (4 years ago)
Author:
ged
Message:
  • better support for viewonly relationships
  • restore flush method on Entity (accidentaly renamed in r349... ooops)
    (closes ticket #54)
  • Added support for filtered OneToMany relationships. Produce viewonly
    relations. See source:elixir/trunk/tests/test_o2m.py for an example.
  • optimized "inverse" property on relation a bit (if None is found once, it's
    stored and not recomputed over and over)
  • embryonic debugging output
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • elixir/trunk/TODO

    r347 r356  
    8484  instead of the acts_as_taggable Jonathan demonstrated 
    8585 
    86 - implement something like: 
    87  
    88     class A(Entity): 
    89         has_many('b', of_kind='B') 
    90         has_many('b_filtered', of_kind='B', filter=lambda c: c.extra < 10) 
    91     class B(Entity): 
    92         has_field('extra', Integer) 
    93         belongs_to('a', of_kind='A') 
    94  
    95   this is the more or less the same as what is described at: 
     86- support custom selectable on relationships, as is done at: 
    9687 
    9788  http://spyced.blogspot.com/2007/01/why-sqlalchemy-impresses-me.html