goa/overrides/rqlannotation.py
author sylvain.thenault@logilab.fr
Thu, 29 Jan 2009 10:34:29 +0100
changeset 515 92d95b86263e
parent 444 c6f20e605b84
child 1802 d628defebc17
permissions -rw-r--r--
search in reverted order else in case of installed cubes (eg in cubicweb/cubes) we do not remove all expected parts

def set_qdata(getrschema, 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