goa/overrides/rqlannotation.py
branchstable
changeset 3689 deb13e88e037
parent 1977 606923dff11b
child 4212 ab6573088b4a
equal deleted inserted replaced
3688:421fb447ecb2 3689:deb13e88e037
    11 
    11 
    12 class SQLGenAnnotator(object):
    12 class SQLGenAnnotator(object):
    13     def __init__(self, schema):
    13     def __init__(self, schema):
    14         self.schema = schema
    14         self.schema = schema
    15         self.nfdomain = frozenset(eschema.type for eschema in schema.entities()
    15         self.nfdomain = frozenset(eschema.type for eschema in schema.entities()
    16                                   if not eschema.is_final())
    16                                   if not eschema.final)
    17     def annotate(self, rqlst):
    17     def annotate(self, rqlst):
    18         rqlst.has_text_query = False
    18         rqlst.has_text_query = False
    19         rqlst.need_distinct = False
    19         rqlst.need_distinct = False
    20 
    20 
    21 
    21