goa/overrides/rqlannotation.py
author Sylvain Thenault <sylvain.thenault@logilab.fr>
Mon, 22 Dec 2008 17:35:07 +0100
changeset 259 d7bb01e5be9d
parent 2 3847ffe2f86c
child 444 c6f20e605b84
permissions -rw-r--r--
2.99.99

def set_qdata(union, noinvariant):
    pass
        
class SQLGenAnnotator(object):
    def __init__(self, schema):
        self.schema = schema
        self.nfdomain = frozenset(eschema.type for eschema in schema.entities()
                                  if not eschema.is_final())
    def annotate(self, rqlst):
        rqlst.has_text_query = False
        rqlst.need_distinct = False