goa/overrides/rqlannotation.py
author Sylvain <syt@logilab.fr>
Wed, 14 Jan 2009 17:16:33 +0100
changeset 412 5b3fd2f2ce9b
parent 2 3847ffe2f86c
child 444 c6f20e605b84
permissions -rw-r--r--
merge

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