add some notes stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 03 Dec 2009 10:02:44 +0100
branchstable
changeset 3985 d5bf894fcf02
parent 3984 54b5c9873ccb
child 3986 cc29eddf51ad
add some notes
schema.py
--- a/schema.py	Thu Dec 03 09:58:07 2009 +0100
+++ b/schema.py	Thu Dec 03 10:02:44 2009 +0100
@@ -698,6 +698,10 @@
     """
     distinct_query = True
 
+    # XXX turns mainvars into a required argument in __init__, since we've no
+    #     way to guess it correctly (eg if using S,O or U the constraint will
+    #     always be satisfied since we've to use a DISTINCT query)
+
     def match_condition(self, session, eidfrom, eidto):
         return len(self.exec_query(session, eidfrom, eidto)) <= 1