cubicweb/server/sources/native.py
changeset 12885 194e9ae964ed
parent 12883 d5bbf030f967
child 12887 11953d585a55
equal deleted inserted replaced
12884:9754c40c732a 12885:194e9ae964ed
   470     @statsd_timeit
   470     @statsd_timeit
   471     def compile_rql(self, rql, sols):
   471     def compile_rql(self, rql, sols):
   472         rqlst = self.repo.vreg.rqlhelper.parse(rql)
   472         rqlst = self.repo.vreg.rqlhelper.parse(rql)
   473         rqlst.restricted_vars = ()
   473         rqlst.restricted_vars = ()
   474         rqlst.children[0].solutions = sols
   474         rqlst.children[0].solutions = sols
   475         self.repo.querier.sqlgen_annotate(rqlst)
   475         self.repo.querier.rqlannotator.annotate(rqlst)
   476         set_qdata(self.schema.rschema, rqlst, ())
   476         set_qdata(self.schema.rschema, rqlst, ())
   477         return rqlst
   477         return rqlst
   478 
   478 
   479     def set_schema(self, schema):
   479     def set_schema(self, schema):
   480         """set the instance'schema"""
   480         """set the instance'schema"""