Axiom queries - dereferencing references

Robert Gravina <[email protected]> Thu, 14 Sep 2006 18:30:02 +0900
Newsgroups gmane.comp.python.quotient.dev
Message-ID <[email protected]>
I'd like to do a query of based on the attribute of one of the  
references on an object, i.e. something like:

store.query(MyItem, MyItem.someReference.someOtherReference ==  
someItemInstance)

... and to make this more understandable, a possible scenario would be:

store.query(Book, Book.authour.manager == fred)

I've noticed this doesn't work, but is there another way to achieve  
this with Axiom queries?

Thanks,

Robert