equal
deleted
inserted
replaced
|
1 """ |
|
2 :organization: Logilab |
|
3 :copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
|
4 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
|
5 """ |
|
6 __docformat__ = "restructuredtext en" |
|
7 |
1 def set_qdata(getrschema, union, noinvariant): |
8 def set_qdata(getrschema, union, noinvariant): |
2 pass |
9 pass |
3 |
10 |
4 class SQLGenAnnotator(object): |
11 class SQLGenAnnotator(object): |
5 def __init__(self, schema): |
12 def __init__(self, schema): |
6 self.schema = schema |
13 self.schema = schema |
7 self.nfdomain = frozenset(eschema.type for eschema in schema.entities() |
14 self.nfdomain = frozenset(eschema.type for eschema in schema.entities() |
8 if not eschema.is_final()) |
15 if not eschema.is_final()) |
9 def annotate(self, rqlst): |
16 def annotate(self, rqlst): |
10 rqlst.has_text_query = False |
17 rqlst.has_text_query = False |
11 rqlst.need_distinct = False |
18 rqlst.need_distinct = False |
12 |
19 |
13 |
20 |