goa/overrides/rqlannotation.py
author Katia Saurfelt <katia.saurfelt@logilab.fr>
Fri, 24 Apr 2009 17:15:28 +0200
changeset 1494 d68aac1cda0d
parent 444 c6f20e605b84
child 1802 d628defebc17
permissions -rw-r--r--
#342695: add new security section to the schema view

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