Wow it's... just... beautifull... snif.... (minus the typo) One other question. You remember my problem from two days ago? Because the relations of a mapper object are not standard lists, pyobjc wouldn't bind them. It turns out, that when I bind the NSArrayController to relation.data it works fine! And the objectstore stuff keeps working too! Is this a smart thing to do? Example (the array controller is bound to orders[selection].orderproducts_list): def fetchall_(self): orders = list(self.order_mapper.select(limit=10)) for order in orders: order.orderproducts_list = order.orderproducts.data self.orders = orders On 29-mrt-2006, at 1:24, Jonathan Ellis wrote: Since you don't say what your error is, I will just show how to make your code more like Python and less like Java. :) |
- [Sqlalchemy-users] objectstore.commit() within a thread? Koen Bok
- Re: [Sqlalchemy-users] objectstore.commit() within a t... Jonathan Ellis
- Re: [Sqlalchemy-users] objectstore.commit() within... Koen Bok
- Re: [Sqlalchemy-users] objectstore.commit() within... Koen Bok
- Re: [Sqlalchemy-users] objectstore.commit() wi... Jonathan Ellis
- Re: [Sqlalchemy-users] objectstore.commit(... Koen Bok
- Re: [Sqlalchemy-users] objectstore.co... Jonathan Ellis
- Re: [Sqlalchemy-users] objectstore.commit(... Michael Bayer
- Re: [Sqlalchemy-users] objectstore.co... Michael Bayer