goa/overrides/rqlannotation.py
author Sandrine Ribeau <sandrine.ribeau@logilab.fr>
Wed, 01 Apr 2009 17:53:44 -0700
changeset 1210 47a3eb4bbe66
parent 444 c6f20e605b84
child 1802 d628defebc17
permissions -rw-r--r--
[doc] Adds a short section on how to launch a blog based on the packages cubicweb and cubicweb-blog. Needs review and renaming to follow convention if content is approved.

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