provide a fixed _compiler_dispatch method. This is roughly similar to using the sqlalchemy.ext.compiler ``@compiles`` extension.
(self, compiler, **kw)
| 1018 | self._adapt_on_names = _adapt_on_names |
| 1019 | |
| 1020 | def _compiler_dispatch(self, compiler, **kw): |
| 1021 | """provide a fixed _compiler_dispatch method. |
| 1022 | |
| 1023 | This is roughly similar to using the sqlalchemy.ext.compiler |
| 1024 | ``@compiles`` extension. |
| 1025 | |
| 1026 | """ |
| 1027 | |
| 1028 | compile_state = self._compile_state_factory(self, compiler, **kw) |
| 1029 | |
| 1030 | toplevel = not compiler.stack |
| 1031 | |
| 1032 | if toplevel: |
| 1033 | compiler.compile_state = compile_state |
| 1034 | |
| 1035 | return compiler.process(compile_state.statement, **kw) |
| 1036 | |
| 1037 | @property |
| 1038 | def column_descriptions(self): |