self.string = self.process(self.statement)
+ @property
+ def sql_compiler(self):
+ """Return a Compiled that is capable of processing SQL expressions.
+
+ If this compiler is one, it would likely just return 'self'.
+
+ """
+
+ raise NotImplementedError()
+
def process(self, obj, **kwargs):
return obj._compiler_dispatch(self, **kwargs)
def is_subquery(self):
return len(self.stack) > 1
+ @property
+ def sql_compiler(self):
+ return self
+
def construct_params(self, params=None, _group_number=None):
"""return a dictionary of bind parameter keys and values"""