equal
deleted
inserted
replaced
186 def compile_rql(self, rql): |
186 def compile_rql(self, rql): |
187 rqlst = self.repo.querier._rqlhelper.parse(rql) |
187 rqlst = self.repo.querier._rqlhelper.parse(rql) |
188 rqlst.restricted_vars = () |
188 rqlst.restricted_vars = () |
189 rqlst.children[0].solutions = self._sols |
189 rqlst.children[0].solutions = self._sols |
190 self.repo.querier.sqlgen_annotate(rqlst) |
190 self.repo.querier.sqlgen_annotate(rqlst) |
191 set_qdata(rqlst, ()) |
191 set_qdata(self.schema.rschema, rqlst, ()) |
192 return rqlst |
192 return rqlst |
193 |
193 |
194 def set_schema(self, schema): |
194 def set_schema(self, schema): |
195 """set the application'schema""" |
195 """set the application'schema""" |
196 self._cache = Cache(self.repo.config['rql-cache-size']) |
196 self._cache = Cache(self.repo.config['rql-cache-size']) |