From ae577ac96f32494b1ad848ad33051829c8438336 Mon Sep 17 00:00:00 2001 From: helmutm Date: Wed, 2 Nov 2005 13:53:32 +0000 Subject: [PATCH] relation package now with a relations registry using catalog indexes git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@651 fd906abe-77d9-0310-91a1-e0d9ade77398 --- relation/README.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/relation/README.txt b/relation/README.txt index 28a7867..4fb80c5 100644 --- a/relation/README.txt +++ b/relation/README.txt @@ -125,3 +125,12 @@ registry and query it: >>> clarkRels = relations.query(first=clark) >>> len(clarkRels) 1 + >>> clarkRels[0].second == washington + True + + >>> nyRels = relations.query(second=newyork) + >>> len(nyRels) + 2 + + + \ No newline at end of file